You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing some reasearch about IPP,My printer doesn't support application/pdf mime data,so I must send document-format with application/octet-stream,and I discovered cups convert source file to PCLmS print stream in Send-Document IPP request by Wireshark.
PCLmS print stream like this:
%PDF-1.7
%PCLm 1.0
%============= Job Ticket =============
%PCLmS-Job-Ticket
%job-ticket-version: 1.1
%epcl-version: 1.01
%JobSection
%job-id: urn:uuid:43f3e358-de24-3896-4c08-72392fc9896d
%MediaHandlingSection
%media-size-name: iso_a4_210x297mm
%media-type: auto
%media-source: main-tray
%sides: one-sided
%RenderingSection
%pclm-compression-method: RLE
%print-color-mode: monochrome
%print-quality: normal
%printer-resolution: 600
%orientation-requested: portrait
%copies: 1
%pclm-raster-back-side: top-left
%margins-pre-applied: true
%pclm-source-resolution: 600
%print-rendering-intent: None
%job-start-time: 2017-3-28,10:53:15.2,+8:0
%PCLmS-Job-Ticket-End
3 0 obj
<<
/Type /Page
/Parent 2 0 R
/Resources <<
/XObject <<
/Image0 5 0 R
/Image1 7 0 R
/Image2 9 0 R
/Image3 11 0 R
/Image4 13 0 R
/Image5 15 0 R
/Image6 17 0 R
/Image7 19 0 R
......
I don't understand all source codes of cups,could you tell me how to convert a file to PCLmS print stream,and in which source code file?
Thanks!
The text was updated successfully, but these errors were encountered:
PCLm is a non-standard PDF-based raster format used by some HP printers and is not something that is supported by CUPS. You might check with the cups-filters project.
I'm doing some reasearch about IPP,My printer doesn't support
application/pdf
mime data,so I must send document-format withapplication/octet-stream
,and I discoveredcups
convert source file to PCLmS print stream inSend-Document
IPP request byWireshark
.PCLmS print stream like this:
I don't understand all source codes of cups,could you tell me how to convert a file to PCLmS print stream,and in which source code file?
Thanks!
The text was updated successfully, but these errors were encountered: