attachment
<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sahil,<div class=""><br class=""></div><div class="">This error indicates that the printer thinks there is a format error in the document. In this case either the PDF is using something not allowed for PCLm or the raster bands don't match the printer's PCLm parameters.</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 3, 2017, at 4:21 PM, Sahil Arora <<a href="mailto:sahilarora.535@gmail.com" class="">sahilarora.535@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hi,<br class=""></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 class=""><br class=""><b class="">ipptool -tv <a href="ipp://HP6960" class="">ipp://HP6960</a>... print-job.test<br class=""><br class=""></b></div>The <b class="">print-job.test </b>file has this contents: <br class=""><br class=""></div>Here is the response I get when I run the job:<br class=""><br class=""><span style="font-family:monospace" class="">"print-job.test":<br class=""> Print-Job:<br class=""> attributes-charset (charset) = utf-8<br class=""> attributes-natural-language (naturalLanguage) = en<br class=""> printer-uri (uri) = <a href="ipp://HP30E171C3B82D.local:631/ipp/print" class="">ipp://HP30E171C3B82D.local:631/ipp/print</a><br class=""> requesting-user-name (nameWithoutLanguage) = sahil<br class=""> document-format (mimeMediaType) = application/PCLm<br class=""> copies (integer) = 1<br class=""> <b class=""> Print file using Print-Job [FAIL]</b><br class=""> RECEIVED: 228 bytes in response<br class=""> <b class="">status-code = client-error-document-format-error (client-error-document-format-error)</b><br class=""> attributes-charset (charset) = utf-8<br class=""> attributes-natural-language (naturalLanguage) = en<br class=""> job-uri (uri) = <a href="ipp://HP30E171C3B82D.local/ipp/print/job-0006" class="">ipp://HP30E171C3B82D.local/ipp/print/job-0006</a><br class=""> job-id (integer) = 6<br class=""> job-state (enum) = processing<br class=""> <b class="">job-state-reasons (keyword) = document-format-error</b><br class=""> job-state-message (textWithoutLanguage) = <br class=""> <b class="">EXPECTED: STATUS successful-ok (got client-error-document-format-error)<br class=""> EXPECTED: STATUS successful-ok-ignored-or-substituted-attributes (got client-error-document-format-error) <br class=""><br class=""><br class=""></b></span></div>It says that the job failed because there is a <b class="">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 class=""><br class="">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 class=""><br class=""></div><div class="">Thanks.<br class="">--<br class=""></div><div class="">Sahil Arora<br class=""></div></div>
_______________________________________________<br class="">ipp mailing list<br class=""><a href="mailto:ipp@pwg.org" class="">ipp@pwg.org</a><br class="">https://www.pwg.org/mailman/listinfo/ipp<br class=""></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Andale Mono'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Andale Mono'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">_________________________________________________________<br class="">Michael Sweet, Senior Printing System Engineer</div></span></div></span>
</div>
<br class=""></div></body></html>