Hello,
I have a strange problem, I have an application that outputs a PDF file (ps output is not an option in the app) then I convert the PDF file to a ps file for printing using acroread on Linux:
/usr/local/acrobat/bin/acroread -toPostScript -level2 -scale 60 -shrink foo.pdf.
The resulting PS file is quite large (10-20MB) but still does not exceed the installed memory on the several printers I have tried to print to (several makes & models). The problem I am having is after I send the job to the printer either using lp or netcat the printer powercycles between each page with about a minute pause before printing the next page. So a run of invoices or delivery tickets take 1 hour plus to print.
I have been looking through the resulting ps files to see of there is something in the beginning or end of page section telling the printer to reset, I am not "clueful" enough with postscript to know what I am looking for. I have been looking through the ps language reference but have come up empty. Here is the start & end section for each page of the ps file.
start of page:
%%Page: 1 1
%%BeginPageSetup
userdict /pgsave save put
PDFVars begin PDF begin PDFVars/InitAll get exec
612 1 0.6 sub mul 792 1 0.6 sub mul translate
90 rotate 0 -612 translate
0 0 792 612 true PDF begin PDFVars begin AS end end
%%EndPageSetup
end of page:
PDFVars/TermAll get exec end end
userdict /pgsave get restore
showpage
%%PageTrailer
%%EndPage
I might be way off in my thought that it is something in the ps file but I am out of ideas, any help would be greatly appreciated.
-aseidas
I have a strange problem, I have an application that outputs a PDF file (ps output is not an option in the app) then I convert the PDF file to a ps file for printing using acroread on Linux:
/usr/local/acrobat/bin/acroread -toPostScript -level2 -scale 60 -shrink foo.pdf.
The resulting PS file is quite large (10-20MB) but still does not exceed the installed memory on the several printers I have tried to print to (several makes & models). The problem I am having is after I send the job to the printer either using lp or netcat the printer powercycles between each page with about a minute pause before printing the next page. So a run of invoices or delivery tickets take 1 hour plus to print.
I have been looking through the resulting ps files to see of there is something in the beginning or end of page section telling the printer to reset, I am not "clueful" enough with postscript to know what I am looking for. I have been looking through the ps language reference but have come up empty. Here is the start & end section for each page of the ps file.
start of page:
%%Page: 1 1
%%BeginPageSetup
userdict /pgsave save put
PDFVars begin PDF begin PDFVars/InitAll get exec
612 1 0.6 sub mul 792 1 0.6 sub mul translate
90 rotate 0 -612 translate
0 0 792 612 true PDF begin PDFVars begin AS end end
%%EndPageSetup
end of page:
PDFVars/TermAll get exec end end
userdict /pgsave get restore
showpage
%%PageTrailer
%%EndPage
I might be way off in my thought that it is something in the ps file but I am out of ideas, any help would be greatly appreciated.
-aseidas