LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2009, 02:55 PM   #1
gary_in_springhill
Member
 
Registered: Mar 2008
Posts: 136

Rep: Reputation: 21
Need help/advice blending ppd and postscript processing script


I have some old postscript code that I'm trying to marry with a special PPD I did. The code takes postscript and converts it to hpgl commands used for vinyl cutters/engravers/routers/plotters etc. I have edited the script so it functions with my engravers. It is old code ps1 I think so it will probably need some updating. My main goal is to use a ppd with cups for an engraver install using the edited ppd to do what the ps2hpgl postscript code does,taking the ppd variables for xy-speed etc and placing the variable in the hpgl files, then outputting the finished hpgl code to the engraver the ppd was using.

Tested with postscript sent to script "plot"

I've tested it with coreldraw9 (wine) "print to postscript device only" works great except can't seem to get rgb color output only cmyk so pen selection won't work.

Tested with inkscape .ps file get part way though with pen selection working and crashes.

Tested with OOdraw and pen selection works but dosen't seem to finish as in getting a string added to the end of the file as commented in ps2hpgl script.

If this could be developed it would certainly help in a small way filling the gap in cups for output to hpgl devices with control for speeds, "z" axis depths,blade-pressure etc. The ppd I did has the features but I have no idea how to create variables in the ppd and pass it along to the ps2hpgl script and have it plug in the selected values. This is probably a big project so I'd be willing to pay some cash for time spent.

Please contact me if your interested in tackling this project!
Thanks
Gary

see attached files
Attached Files
File Type: txt Engraver-PSscript.ppd.txt (9.1 KB, 14 views)
File Type: txt plot.txt (746 Bytes, 12 views)
File Type: txt ps2hpgl.ps.txt (6.4 KB, 31 views)

Last edited by gary_in_springhill; 04-13-2009 at 05:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache update stopped processing shtml files, need some advice. sir-lancealot Linux - Server 2 08-08-2008 01:55 PM
Sys-Admin-Print-Add Error at /usr/share/ppd/custom/HP-OfficeJet_300-hpijs.ppd suguru Ubuntu 0 10-02-2006 11:11 AM
IBM 4019+Postscript card: Which ppd? Roy J. Tellason Linux - General 0 06-03-2004 01:45 PM
help! i need advice and suggestions for fast processing eph General 4 03-17-2004 06:42 AM
what to do to .ppd files? i just downloaded a generated ppd file at linuxprinting? kublador Linux - Software 0 03-04-2003 04:20 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration