$ echo hello | mpage -1 -bA4 -o | lpr $ Nothing is printed. <?xml version="1.0"?> <adm_context VERSION="0"> <id NAME="local" SERIAL="981923872"> <null/> <null/> </id> <datatree> <printconf TYPE="LIST"> <print_queues TYPE="LIST"> <letters ATOMIC="TRUE" TYPE="LIST"> <alias_list ANONYMOUS="TRUE" TYPE="LIST"> </alias_list> <queue_type TYPE="STRING" VALUE="LOCAL"/> <filter_type TYPE="STRING" VALUE="MAGICFILTER"/> <queue_data TYPE="LIST"> <printer_device TYPE="STRING" VALUE="/dev/lp0"/> </queue_data> <filter_data TYPE="LIST"> <mf_type TYPE="STRING" VALUE="MFOMATIC"/> <gs_driver TYPE="STRING" VALUE="bj200"/> <printer_id TYPE="INT" VALUE="58720"/> </filter_data> </letters> <pictures ATOMIC="TRUE" TYPE="LIST"> <alias_list ANONYMOUS="TRUE" TYPE="LIST"> </alias_list> <queue_type TYPE="STRING" VALUE="LOCAL"/> <filter_type TYPE="STRING" VALUE="NONE"/> <queue_data TYPE="LIST"> <printer_device TYPE="STRING" VALUE="/dev/lp2"/> </queue_data> <filter_data TYPE="LIST"> </filter_data> </pictures> </print_queues> </printconf> </datatree> </adm_context>
This defect is considered MUST-FIX for Florence Release-Candidate #1
Is 'nothing' printed, or do you get a blank page?
Just try it. I don't think it even gets as far as printing nothing---there are errors in the status file.
You don't even need a printer to do this. I'll attach the status.lp file.
Created attachment 9900 [details] /var/spool/lpd/lp/status.lp
Oh, wait, I see the problem now. Why is it prepending '<</PageSize[612 792]/ImagingBBox null>>setpagedevice'? That seems to be bogus. Adding that line in after %%BeginProlog makes the page entirely empty, which is what this will be. This probably also explains why I've been having trouble with the top margin of print jobs.
See also bug 27116.
Okay... tried to recreate the scenario Tim had above.... I used printconf-0.1-13, printconf-gui-0.1-13, mpage-2.5.1-5, LPRng-3.7.4-16. I did: $ echo hello | mpage -1 -bA4 -o | lpr and I got output. Printer is a Xerox DocuPrint N40, configured as a DocuPrint N32... I will attach the switchboard xml, printcap and status.<printername> files now.
Created attachment 10340 [details] printcap
Created attachment 10341 [details] printconf.switchboard.adl
Created attachment 10342 [details] status.norm from /var/spool/lpd/norm/
*** This bug has been marked as a duplicate of 27116 ***