Sign in to follow this  
tinaski

hey lets have some fun with raw hpgl code

Recommended Posts

i have been playing around with some new stuff with my cutter and just wondering if anyone else can cut with raw hpgl code -- just thought it would be something fun to do here is my code -- give me yours and we will see what we can do with it.

if anyone wants more i will send a really large one over but here is a simple one to start and were limited to 20,000 characters

this is written in postscript level 3 if that helps

IN;SC;PU;PU;SP1;LT;VS10

IN;SC;PU;PU;SP1;LT;VS10

PU;

SP1;

PU3018,2873;PD3010,2987;PD2997,3099;PD2981,3209;PD2962,3317;PD2938,3422;PD2912,3524;PD2882,3623;PD2849,3719;PD2812,3811;PD2773,3900;PD2730,3985;PD2684,4066;PD2636,4143;PD2584,4216;PD2530,4283;PD2473,4347;PD2414,4404;PD2353,4455;PD2291,4500;PD2228,4539;PD2164,4571;PD2099,4597;PD2033,4616;PD1966,4630;PD1900,4636;PD1833,4637;PD1766,4631;PD1699,4618;PD1633,4599;PD1567,4573;PD1502,4541;PD1438,4502;PD1376,4456;PD1314,4402;PD1253,4341;PD1194,4274;PD1138,4201;PD1084,4122;PD1034,4040;PD988,3953;PD934,3837;PD887,3715;PD845,3588;PD808,3456;PD778,3321;PD754,3182;PD735,3041;PD722,2898;PD716,2753;PD715,2609;PD721,2464;PD732,2320;PD750,2178;PD774,2037;PD805,1900;PD841,1766;PD875,1662;PD912,1563;PD952,1469;PD994,1379;PD1040,1294;PD1089,1214;PD1140,1140;PD1193,1071;PD1249,1007;PD1307,949;PD1368,897;PD1430,850;PD1494,810;PD1560,776;PD1628,748;PD1697,727;PD1738,719;PD1786,715;PD1840,713;PD1896,714;PD1951,717;PD2004,723;PD2051,732;PD2089,742;PD2142,763;PD2193,786;PD2242,813;PD2289,843;PD2336,877;PD2382,915;PD2429,957;PD2477,1005;PD2538,1073;PD2595,1146;PD2650,1225;PD2701,1309;PD2749,1398;PD2793,1491;PD2834,1589;PD2871,1690;PD2905,1796;PD2934,1905;PD2960,2018;PD2982,2134;PD3000,2253;PD3013,2375;PD3023,2500;PD3028,2627;PD3028,2643;PD3028,2665;PD3027,2693;PD3026,2724;PD3024,2759;PD3023,2796;PD3021,2835;PD3018,2873;

PU2685,2619;PD2633,2593;PD2581,2565;PD2530,2534;PD2481,2502;PD2436,2470;PD2395,2439;PD2360,2409;PD2333,2381;PD2310,2355;PD2292,2329;PD2278,2305;PD2268,2282;PD2262,2259;PD2260,2236;PD2261,2213;PD2267,2190;PD2276,2163;PD2289,2139;PD2304,2118;PD2323,2098;PD2346,2081;PD2373,2066;PD2404,2052;PD2441,2039;PD2447,2037;PD2451,2034;PD2452,2031;PD2451,2026;PD2448,2021;PD2441,2013;PD2431,2003;PD2418,1991;PD2364,1936;PD2320,1882;PD2284,1828;PD2258,1775;PD2242,1723;PD2236,1675;PD2241,1629;PD2256,1587;PD2270,1563;PD2285,1541;PD2302,1523;PD2321,1508;PD2340,1496;PD2362,1488;PD2384,1483;PD2409,1481;PD2434,1482;PD2462,1487;PD2491,1495;PD2522,1506;PD2554,1520;PD2589,1537;PD2625,1558;PD2663,1582;PD2671,1588;PD2680,1593;PD2687,1597;PD2695,1601;PD2701,1603;PD2706,1605;PD2709,1605;PD2711,1605;PD2712,1602;PD2712,1597;PD2710,1589;PD2708,1579;PD2704,1567;PD2699,1554;PD2694,1539;PD2688,1523;PD2681,1505;PD2674,1487;PD2666,1468;PD2657,1449;PD2648,1430;PD2639,1410;PD2630,1391;PD2621,1372;PD2597,1326;PD2571,1282;PD2544,1239;PD2515,1198;PD2485,1159;PD2454,1122;PD2421,1087;PD2388,1053;PD2354,1022;PD2319,993;PD2282,966;PD2246,942;PD2208,920;PD2170,900;PD2131,883;PD2092,869;PD2018,848;PD1945,834;PD1873,829;PD1804,831;PD1736,842;PD1669,860;PD1605,886;PD1541,920;PD1480,962;PD1419,1012;PD1361,1070;PD1303,1136;PD1248,1210;PD1193,1291;PD1140,1381;PD1089,1479;PD1075,1507;PD1061,1537;PD1047,1568;PD1033,1601;PD1019,1634;PD1005,1667;PD992,1699;PD979,1731;PD968,1761;PD957,1789;PD948,1815;PD941,1837;PD935,1857;PD931,1872;PD929,1882;PD930,1888;PD935,1893;PD940,1897;PD947,1898;PD954,1897;PD962,1895;PD970,1890;PD978,1883;PD987,1875;PD992,1869;PD999,1863;PD1008,1857;PD1018,1850;PD1029,1843;PD1041,1836;PD1052,1830;PD1064,1824;PD1094,1813;PD1125,1804;PD1156,1799;PD1189,1798;PD1221,1799;PD1254,1804;PD1286,1812;PD1318,1822;PD1348,1835;PD1377,1851;PD1405,1869;PD1431,1889;PD1454,1911;PD1475,1936;PD1493,1962;PD1507,1991;PD1518,2020;PD1526,2052;PD1531,2087;PD1533,2123;PD1532,2160;PD1529,2198;PD1523,2235;PD1514,2271;PD1508,2290;PD1503,2305;PD1497,2317;PD1491,2327;PD1485,2334;PD1477,2341;PD1468,2346;PD1457,2351;PD1427,2361;PD1384,2371;PD1329,2381;PD1262,2392;PD1186,2402;PD1101,2412;PD1008,2422;PD910,2431;PD895,2433;PD881,2435;PD868,2436;PD857,2438;PD847,2441;PD840,2443;PD836,2445;PD835,2446;PD840,2458;PD855,2472;PD877,2489;PD906,2508;PD940,2526;PD976,2544;PD1013,2561;PD1050,2574;PD1056,2577;PD1060,2581;PD1064,2588;PD1066,2596;PD1068,2609;PD1069,2625;PD1070,2646;PD1070,2671;PD1070,2697;PD1069,2718;PD1068,2734;PD1066,2746;PD1064,2755;PD1060,2761;PD1056,2766;PD1050,2768;PD1025,2778;PD996,2791;PD964,2806;PD933,2823;PD904,2839;PD879,2854;PD861,2868;PD851,2877;PD846,2884;PD842,2890;PD841,2895;PD841,2898;PD843,2901;PD846,2903;PD852,2905;PD860,2908;PD867,2909;PD878,2911;PD892,2913;PD909,2915;PD928,2917;PD948,2919;PD970,2921;PD992,2922;PD1067,2929;PD1141,2937;PD1211,2945;PD1276,2955;PD1335,2965;PD1387,2976;PD1430,2987;PD1463,2997;PD1473,3003;PD1482,3011;PD1490,3022;PD1498,3035;PD1505,3051;PD1512,3068;PD1518,3087;PD1523,3107;PD1528,3128;PD1531,3150;PD1533,3173;PD1535,3195;PD1535,3218;PD1534,3241;PD1532,3262;PD1529,3283;PD1517,3327;PD1500,3367;PD1478,3403;PD1450,3437;PD1417,3466;PD1379,3493;PD1336,3515;PD1287,3534;PD1246,3545;PD1206,3550;PD1165,3551;PD1126,3545;PD1088,3535;PD1053,3520;PD1019,3499;PD988,3474;PD978,3464;PD968,3457;PD960,3451;PD953,3447;PD946,3444;PD941,3444;PD937,3445;PD934,3448;PD932,3452;PD931,3458;PD931,3466;PD932,3476;PD934,3487;PD937,3500;PD942,3514;PD947,3530;PD996,3658;PD1046,3776;PD1098,3884;PD1152,3984;PD1208,4076;PD1265,4158;PD1326,4234;PD1389,4301;PD1423,4334;PD1458,4364;PD1493,4391;PD1528,4416;PD1563,4438;PD1598,4457;PD1634,4473;PD1670,4487;PD1707,4498;PD1745,4507;PD1783,4512;PD1822,4516;PD1862,4516;PD1903,4515;PD1945,4511;PD1988,4504;PD2037,4493;PD2085,4479;PD2133,4461;PD2179,4440;PD2225,4415;PD2270,4387;PD2313,4356;PD2355,4322;PD2396,4284;PD2435,4244;PD2473,4201;PD2509,4156;PD2543,4108;PD2576,4057;PD2606,4004;PD2634,3948;PD2650,3914;PD2665,3879;PD2679,3845;PD2692,3813;PD2702,3785;PD2709,3762;PD2712,3746;PD2712,3739;PD2710,3739;PD2705,3741;PD2697,3744;PD2687,3749;PD2676,3755;PD2663,3763;PD2649,3771;PD2634,3780;PD2598,3801;PD2566,3818;PD2537,3833;PD2510,3844;PD2484,3852;PD2460,3858;PD2437,3862;PD2413,3863;PD2390,3863;PD2369,3860;PD2350,3855;PD2332,3847;PD2316,3837;PD2301,3823;PD2286,3807;PD2271,3787;PD2262,3773;PD2255,3761;PD2250,3748;PD2246,3736;PD2243,3722;PD2241,3707;PD2241,3689;PD2240,3668;PD2242,3635;PD2248,3602;PD2257,3571;PD2272,3539;PD2291,3506;PD2315,3472;PD2346,3434;PD2382,3394;PD2457,3314;PD2404,3294;PD2378,3284;PD2355,3271;PD2334,3255;PD2315,3238;PD2299,3218;PD2285,3197;PD2274,3174;PD2266,3149;PD2262,3132;PD2259,3118;PD2258,3106;PD2259,3094;PD2261,3083;PD2266,3070;PD2274,3054;PD2284,3034;PD2308,2996;PD2339,2958;PD2378,2920;PD2425,2881;PD2479,2842;PD2541,2803;PD2609,2764;PD2684,2725;PD2704,2716;PD2722,2706;PD2739,2697;PD2754,2690;PD2766,2683;PD2775,2677;PD2781,2673;PD2783,2671;PD2781,2669;PD2775,2666;PD2766,2660;PD2754,2654;PD2740,2646;PD2723,2638;PD2705,2629;PD2685,2619;

PU;SP;EC;PG1;EC1;OE

PU;PA0,0;SP;EC;PG1;EC1;OE

Share this post


Link to post
Share on other sites

Someone's got too much time on their hands. :rolleyes:

Jay

those Linux people only go out at night.

Share this post


Link to post
Share on other sites

lol business is slow but i'm not about to try that jibberish.

Share this post


Link to post
Share on other sites
Guest manwayvan

I dont get it? What is that suppose to translate to? Is that a driver their trying to edit or something?

Share this post


Link to post
Share on other sites

I dont get it? What is that suppose to translate to? Is that a driver their trying to edit or something?

that is the code that your cutter uses. (hpgl)

when you design something of the software of your choice - flexi - sign go - whatever - it will convert your nodes and lines to segments -

if you look at the code PU  = pen up (pen if our case meaning knife) PD = pen down all the numbers are placement of the cutter and so on there is other codes too

just looking for someone who can take the raw code and cut it - its not like a printer that takes the image and prints

what's it translate to - an image - if I dump that to the cutter as text its not a program or a driver or anything like that it will cut what it is told to cut

take any segment - PD2997,3099 = pen down at segment 2997 till 3099 - that's all it is

just seeing if there is anyone here that knows more than how to draw a pic and cut.

Share this post


Link to post
Share on other sites

Tinaski,

Hi,

I have not time but it seems you have. :rolleyes:

I think a lot of people here would like the plotter to be controlled by software.

I mean the PCUT and other Chinese based cutters.

A simple program that sets speed and force from the PC instead of the plotter screen would be a welcome feature.

Do not knwo if this could be done by HPGL too.

Let us know it can make a lot of people happy.

Regards, Paco

Share this post


Link to post
Share on other sites

Tinaski,

Hi,

I have not time but it seems you have. :rolleyes:

I think a lot of people here would like the plotter to be controlled by software.

I mean the PCUT and other Chinese based cutters.

A simple program that sets speed and force from the PC instead of the plotter screen would be a welcome feature.

Do not knwo if this could be done by HPGL too.

Let us know it can make a lot of people happy.

Regards, Paco

well I use inkscape or sk1 to cut my vinyl - look at my signature

in the process of sending the cutable vector to the cutter I have an option to manually edit the code so that is how I can edit it or build it

I am still testing something's out but so far it seams to work good setting the force or speed using the software

but I haven't tested it on a pcut so I don't know the results of that im working with a Graphtec and I am looking for another cutter to test on

so far I couldn't get the MHseries to work with it (in Linux) I am not sure but since it uses a usb to serial chipset its allot more difficult to set up

the Graphtec plug it and saw it as a printer right away and easy to set up

Share this post


Link to post
Share on other sites

All uncles Bill Windows here.............

But I have a PCUT.

Let me know where I can assist.

knowing some VB 6 coding if needed and when not time consuming.

See my signature :-)

Paco

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this