> A few more changes are needed here:
>
> 1. You should use the Adobe names for all sizes; you can find the =
> official list in Appendix B of the Adobe PPD specification, available =
> here:
>
> http://partners.adobe.com/public/developer/en/ps/5003.PPD_Spec_v4.3.pdf
>
> 2. Tabloid is 792x1224, not 791x1224; similarly, Ledger landscape is =
> 1224x792. You'll find the official dimensions in the PPD spec as =
> well...
>
> 3. Legal is 612x1008, not 612x1009
>
> Also, I have some FLTK UI code for CUPS that is gathering dust - if =
> you'd like to use this in 1.3 let me know and I'll send it your way...
>
Thanks so much Michael.
I'm in need of much PostScript help :
- how to program the fl_width() function for PS output ?
- how to print non-ascii characters ?
- Roman's code allows to produce PS for levels 1, 2 or 3. What level
is it reasonable/useful to expect to be supported in today's printers ?
"and I'll send it your way...". It would be great if this means
you could implement these 2 functions:
int Fl_PS_Printer::start_job(int pages, int *firstpage, int *lastpage) {
// TODO should start a print dialog, set the selected paper
// format and the temp .ps file in Fl_PS_Printer's member variables,
// and return the user's desired page range to the caller
return Fl_PSfile_Device::start_job(pages,format,firstpage,lastpage);
}
void Fl_PS_Printer::end_job(void)
{
Fl_PSfile_Device::end_job();
// TODO should send the ps_filename_ file to the print queue
// and delete it
}
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev