attachment
<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 4 Aug 2017 at 01:51 Sahil Arora <<a href="mailto:sahilarora.535@gmail.com">sahilarora.535@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Hi,<br></div>I am trying to test printing a PCLm file to a Wifi-direct IPP enabled printer. PCLm is a subset of PDF and is supported by Wifi-direct printer. I typed this command for printing:<br><br><b>ipptool -tv ipp://HP6960... print-job.test<br><br></b></div>The <b>print-job.test </b>file has this contents: <br></div></div></div></div></blockquote><div> <a href="https://gist.github.com/sahilarora535/4790c41601a184391c9352aec49a793f">https://gist.github.com/sahilarora535/4790c41601a184391c9352aec49a793f</a></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div></div>Here is the response I get when I run the job: <br></div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br><span style="font-family:monospace">"print-job.test":<br> Print-Job:<br> attributes-charset (charset) = utf-8<br> attributes-natural-language (naturalLanguage) = en<br> printer-uri (uri) = ipp://HP30E171C3B82D.local:631/ipp/print<br> requesting-user-name (nameWithoutLanguage) = sahil<br> document-format (mimeMediaType) = application/PCLm<br> copies (integer) = 1<br> <b> Print file using Print-Job [FAIL]</b><br> RECEIVED: 228 bytes in response<br> <b>status-code = client-error-document-format-error (client-error-document-format-error)</b><br> attributes-charset (charset) = utf-8<br> attributes-natural-language (naturalLanguage) = en<br> job-uri (uri) = ipp://HP30E171C3B82D.local/ipp/print/job-0006<br> job-id (integer) = 6<br> job-state (enum) = processing<br> <b>job-state-reasons (keyword) = document-format-error</b><br> job-state-message (textWithoutLanguage) = <br> <b>EXPECTED: STATUS successful-ok (got client-error-document-format-error)<br> EXPECTED: STATUS successful-ok-ignored-or-substituted-attributes (got client-error-document-format-error) <br><br><br></b></span></div>It says that the job failed because there is a <b>client-document-format-error</b>. Are there some other ways I can get a more detailed error message as to why the job is failing, what exactly is the problem with the PCLm file? Since the file I am sending can be viewed in a standard PDF editor correctly. <br><br>It would be great if someone could help here. I am currently working on converting raster images to PCLm files, and there can be many errors with PCLm files which the PDF viewer does not show but the printer will. Also, if someone has some PCLm files which can be printed without any errors (and having a strip height of 32 if possible) and can share with me, it would be very helpful.<br><br></div><div>Thanks.<br>--<br></div><div>Sahil Arora<br></div></div></blockquote></div></div>