Embed pcl or postscript commands in pdf

Hello!
I am currently facing the problem, that I want to specify the paper-source tray for the pages of a pdf, that is sent directly to the printer. I know that there is no way to do this directly in the PDF. Or are there plans to put this into one of the next standards?
Printing PDFs on the printer using "PDF Direct" for example works great, but we also need to select different trays.
So, I am now trying to add PJL/PCL commands in front of the PDF, but these PJL commands are valid only for the whole PDF. And I only got it to work one time, that a PDF with the PJL/PCL commands in front, was printed from the desired tray.
Well, now here is my question: Is there a way to add PCL or even Postscript commands to a PDF and specify the tray on a per PDF or even per page granularity? And how would I achieve this?
Or in general: How can I embed Postscript commands into a PDF?
Thanks for your help!
Kind regards,
Johannes

The PDF specification does provide a feature referred to as a PostScript XObject which permits embedding PostScript fragments within a PDF file. However, use of PostScript XObjects is strongly discouraged as many if not most software processing PDF files either totally ignore these objects and are unlikely to pass them onto printing devices either at all or in a consistent fashion. For example, printers and RIPs based on the Adobe PDF Print Engine totally ignore any PostScript XObjects. When printing from Adobe Reader or Adobe Acrobat to a PostScript device, it is very unlikely that any embedded PostScript XObjects would appear in the proper location within the resultant PostScript job to properly select input tray, output tray, and/or finishing options.
There is no way of embedding PCL in a PDF file.
The concept behind PDF workflows is that content and production instructions are maintained separately. Graphically rich content in a device independent form at the highest level of abstraction is carried by the PDF file. Job processing instructions including paper types, tray selections, copy count, duplexing, collation, and finishing options are transmitted separately in a job ticket, often JDF. None of international standards such as PDF/X or PDF/A support any embedded job ticketing or job control functions.
          - Dov

Similar Messages

  • Embedding Fonts in PostScript and/or PDF

    Under 10.3 the Print dialogue had a Save As File option which allowed the embedding of fonts in PostScript. Choices were All, All but Standard 13 and such. This made sure that the PostScript (and generated PDF) files would render properly on systems with a different set of fonts.
    Under 10.4 this capabilty seems to be either lost of so well hidden that I have not been able to find it. Did I miss it?
    How does one embed fonts in PostScript and/or PDF files? Is there a Tiger options somewhere? Is this a case of having to use a third party utility? Like the full Acrobat set or something else.

    AFAIK, the system PDF creation always embeds fonts.
    At least in the few tests I've done, using the Save
    as PDF option in the print dialog produced PDF files
    that show in Acrobat as having embedded font subsets.
    Thanks. I checked with the same ressults but the problem I am having seems to be related to the Type 3 custom fonts that are in LaTEX generated files. The Type 3 fonts do not seem to survive being saved as PDF. They seem to cause some confusion in DEVONthink and I was hoping to get files that could be scanned by it.

  • Embedding Postscript into a pdf file

    I've been looking for a while for a solution to a problem I have. I want to be able to embed postscript code into pdf file. Is it possible to do this within acrobat or even some other solution?
    Thanks!

    By "embed PostScript code", do you mean add a .ps file as an attachment?
    You can do this with the Doc.importDataObject() method.

  • How to embed the needed fonts in a pdf file

    Dear Sir/Mam,
    We had purchased licenced version of adobe acrobat x pro
    We are facing issues while embedding the font in the pdf file
    Please find the below mentioned requirement
    Requirement:
    We have a pdf file (template) with some static images and static text in it
    We need to populate dynamic data in the pdf file for this we may use text boxes
    We need to set the font name for the text box and embed that font in the pdf template (Eg:Font to be used in textboxes is "RotisSansSerif-Bold")
    Queries
    Please let us know how to embed the needed fonts in the pdf file?
    Once user exports the pdf file, even if user doesnot have the fonts installed in his system the text need to be displayed in the same fonts,how to acheive this?Eg:if we define "RotisSansSerif-Bold" as font in the textboxes,after exporting the data the text need to be in the same font.
    Note:
    Fonts will only installed in the application server and not in the client system
    The mentioned requirement need to work on below mentioned specifications
    OS:Windiows-XP,  Browser:IE
    OS:Mac osx, Browser:Safari
    Regards,
    S.N.Prasad

    There is a similar post just a few away from yours. I will suggest what I would try. Open your job settings file (press or print preferred to get all fonts) and then select the properties and the font tab. At your font to the always embed list and you will likely need to uncheck the subset box. Then save your job settings (give it a name that is meaningful to you, you can not use the settings file you started with as they are read only and I do not recommend changing that). Maybe that will do the job. Of course that is for the creation of the PDF, I forgot you were talking about a form. You might check the form field properties, but I suspect you have already tried that. Guess I don't play with forms enough. Others may be by to answer.

  • How to embed a mp4 video into a pdf with acrobat pro XI?

    I'm  trying to embed a mp4 video into a pdf using Acrobat Pro XI.  When I try to play the video, all I see is a black box. The video is H.264 codec. I've tried on a PC and Mac and get the same results.

    Video playback in the Acrobat Family uses Flash Player, so if it works in FP (loaded via an HTML page) then it should work in your PDF. First suggestion is to use the free MediaInfo tool to check exactly what the internal structure reports as.

  • Converting Pages PostScript file to PDF

    Can someone with a similar setup test this Pages PS file technique out and see if you can do it?
    This was a tip from a Pages User/Blogger, as a way to get truer color printing of a Pages doc when moving it from the 3-color screen version to a four color commercial printer. He suggested saving the Pages file as Postscript, and then using Apple Preview, open and convert the Postscript to a PDF. I can't open the PS file with Preview, and it fails in the conversion to PDF. I get an error message: couldn't convert to a PDF/Couldn't open the file.
    I contacted the Blogger; he was surprised it fails, given the long time use of PS and PDF files. He suggested that I ask someone with a set-up similar to mine to try this, and help me determine if it's my computer or the software that's failing (or me!). I'm working on a G-5, with OS 10.4.8, and Pages 2.02.
    (Note, I've also tried doing this through Adobe Distiller, and that doesn't work either. That it fails in Preview seems to say to me that it's not just a problem with the version or settings in Adobe PRo/Distiller, but perhaps with Pages?).
    Thanks!

    It turned out that my two posted issues were related. The table on page one that was raising havoc with header and footers was also causing the PS to PDF conversion problems as well. I still have to resolve the table issue, but at least you helped me recognize where the printing issue was coming from!
    G-5   Mac OS X (10.4.8)  
    G-5   Mac OS X (10.4.8)  

  • Embed FREE3OF9.TTF in Oracle 9i PDF report

    I want to embed the "Free 3 of 9" barcode font in my Oracle 9i report. The steps I have taken are as follows:
    1. I know I can't use a True Type font for embedding so I have used the conversion utility - ttf2pt1 - to create .afm and .pfa files.
    2. I have copied these into a directory included in my REPORTS_PATH.
    3. I have updated my uifont.ali to include the following:
    [ PDF:Embed ]
    Free 3 of 9 = "FREE3OF9.afm FREE3OF9.pfa"
    4. In my report, I have selected the "Free 3 of 9" True Type font for the text having already included the font in my windows Font directory.
    5. I issue the following command to run my report:
    http://server:port/reports/rwservlet?server=REPSERVER&report=BARCODE_TEST&destype=cache&desformat=PDF&desname=BARCODE_TEST.pdf&envid=DEV&PDFEMBED=YES
    Unfortunately, the resulting pdf document displays the text in a default font (looks like arial) and not in the "Free 3 of 9" font. If I run the report to a file from Report Builder the PDF document includes the text using the barcode font.
    How can I test that my embedding is working correctly? Have I added the entry correctly to my uifont.ali? Am I doing this correctly, including the ttf barcode font in the report expecting it to be replaced by the .afm and .pfa fonts?
    Any advice would be greatly appreciated.
    Richard

    I know this is a very old thread, but I just beat my head against this for 2-days until I got it and wanted to post the solution.
    First of all, changes to uifont.ali do not go into effect immediately. I find that there a lag equal to the engine's job life, so I've been hitting refresh alot (about 20 times per change, sometimes more).
    The correct entry for PDF:Embed looks like this :
    [ PDF:Embed ]
    "Free 3 of 9" = "FREE3OF9.pfm FREE3OF9.pfb"
    Note the quotes around the font name. There is no mention of font names with spaces in the documentation, but it must be quoted. I'm not sure about case sensitivity on the filenames (it is a windows server) but the case matches my files.
    I am running Application Server under windows so I have to use the .pfm file. I'd expect to use the .afm if I was running on a linux server. (If I try to use the .afm, I get errors)
    The two files are in their own directory under $ORACLE_HOME/reports (called free3of9) and I added that directory to REPORTS_PATH in the registry (HKEY_LOCAL_MACHINE/Software/HOME0).
    I tried putting the fonts into my report directory, but that didn't work. I set my report directory by setting sourceDir property in the rep_server.conf file and apparently that setting doesn't influence font embedding.
    The first problem was converting the TTF to an Adobe Postscript Type 1 font, which I did with ttf2pt1. That produced a .afm though (and the .pfb), so then I used a windows program called CrossFont (the 15-day trial version worked fine) to produce the .pfm.
    The lag on making the changes was the most frustrating thing about this.

  • Missing page while converting Postscript files to PDF using Distiller 9.

    Hi
    Due to some incorrect hexadecimal code in the post script, one of the pages is not getting created in the full pdf. So, we can say that the page is missing in the complete pdf file.
    Here is my snapshot of the issue:
    1. Offending command issue on a particular post script data is coming up due to some incorrect hexadecimal data.
    2. If I run the postscript through Distiller 8, report is getting generated without any missing data.
    3. Whereas, if I run it throught Distiller 9.1.3, Distiller is ignoring the page due to following warning.
    %%[ Error: typecheck; OffendingCommand: xshow ]%%
    Stack:
    41
    ( À
    4. If I run the same Postscript file in Distiller 9.3 (latest version), issue is going away.
    5. But I have another Report pdf with the same  issue but this time with a different hexadecimal exception.
    %%[ Error: typecheck; OffendingCommand: xshow ]%%
    Stack:
    49
    (à øÀ øÀ øÿ€ üÿ€ üÿ€ üÿ€ üÿ€ þÿ€ þÿ€ þÿ€ þÿÀ þÀ þà þø?þ?ÿÿþ?ÿÿþ ÿÿþ ÿÿþ ÿýþ ÿùþ?ðà øÀ øÀ øÿ€ üÿ€ üÿ€ üÿ€ üÿ€ þÿ€ þÿ€ þÿ€ þÿÀ þÀ þà þø?þ?ÿÿþ?ÿÿþ ÿÿþ ÿÿþ ÿýþ ÿùþ ü%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    So, either way, even if I upgrade my version of Acrobat from 9.1.3 to 9.3, issue doesnt go away. I think the new Acrobat Distiller is buggy and introducing new problems when compared to Acrobat Distiller 9.
    1. Works fine Distiller 8.0
    2. More problems with 9.1.3
    3. Lesser problems with 9.3 but I cant upgrade to 9.3 unless i see all the missing page problem going away.
    Can someone urgently look into this?
    Regards
    Hari

    I am calling Distiller using command line.
    "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrodist.exe" /f/Q/N C:\Reporter\debug\report.dst
    report.dst contains the the names of the post script files.
    (I have already contacted Distiller server forum and I was told to post the request in Acrobat forum)

  • EMBEDDING POSTSCRIPT FONTS INTO PDFS

    Used Quark Xpress 3.31 on Windows 98/Millenium/2000, made ps file, distilled to PDF. Worked great. All fonts embedded in PDF. Files worked great for prepress. Can't update Quark because of maths program I use that won't work on later Quark versions and can’t get math program upgrade. Trying to update to Windows XP. With XP postscript fonts will not embed in PDFs via Quark 3.31/Acrobat Distiller 4. Fonts will only show in Courier on PDF, although using Word same fonts will distill and show in PDF preferences/fonts list – so fonts are working. Have tried Universal Document Converter 5.3 as straight PDF converter. Fonts show on PDF but not showing as fonts embedded in preferences/fonts in PDF. Trying Adobe Acrobat Pro 10 but does not seem to work either. I think it is an issue with Quark 3.31 and later Windows platforms. Any suggestions out there on problem/solution? I may have to be stuck in the middle ages with software. Thanks

    I may have to be stuck in the middle ages with software
    People have the best experience when their application software, their OS software and their hardware are moving forward together. But you've pretty much just stuck with what you have for the past 16 years.
    I'd guess that the problem is that QuarkXPress 3.31 (which came out in 1996, according to Wikipedia) is probably incompatible with Windows XP (which came out in 2001).
    Either you stick with what you have or you'll have to replace all your software. Assuming you want to stick with QuarkXPress, you'll have to find new math software which works with a later version of QuarkXPress. This will then require you to probably upgrade your hardware and update your Windows software. Since you waited so long, this will take some work.

  • Why can't Distiller 8.2.3 can't convert postscript file to pdf?

    My client wants me to generate pdf files thru Distiller. I've always done this successfully. Now Distiller's message says:
    Distilling: AoC.ps
    Start Time: Thursday, September 30, 2010 at 3:45 PM
    Source: /Users/lindajupiter/Documents/Art of Convening/PDFs/AoC.ps
    Destination: /Users/lindajupiter/Documents/Art of Convening/PDFs/AoC.pdf
    Adobe PDF Settings: /Library/Application Support/Adobe/Adobe PDF/Settings/Press Quality.joboptions
    %%[ Warning: unable to embed font /Helvetica.Out of memory. ]%%
    %%[ Error: Helvetica cannot be embedded because of font file error. ]%%
    %%[ Error: invalidfont; OffendingCommand: charpath ]%%
    Stack:
    false
    (AoC-1.indd   A)
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Distill Time: 0 seconds (00:00:00)
    I have preflighted this file and there is no Helvetica in the file.
    What can I do?
    Thanks,
    Linda

    You must update it through iTunes from your computer.
    Connect your device to your PC with latest iTunes installed.  Once successfully connected, it will appear under Device on the lsft Pane of the iTunes.  Then on the right Pane, it will show you your current iPad IOS version and a button to update or "Check for update"

  • How can I embed files of word, excel, and pdf format in a pdf document

    I have a word document of the product, which I am updating for next product release. However, there are some excel, word, and pdf files embedded within a word document. When I double click these embedded files in word, these files open in a new window. However, we deliver documentation to the customer in the pdf format. Therefore, when I am converting the word document in the pdf format, only an icon of the embedded file is displayed and the files do not open in a new window. Can someone let me know how can I embed these files (in word, excel, and pdf format) in a pdf document?

    You must attach them to the PDF file after it is created. You cannot embed file attachments onto a page as you can with Word.

  • InDesign doesn't let embed the font while exporting to PDF

    I used a font while working on a document in InDesign and later while exporting to PDF I got a warning that the software is unable to include that font.
    Is there a way to go around it? It was a free cyrillic font and it's not possible to buy it. I suppose creating outlines is not the right way to go
    Thanks in advance

    Eugene Tyson wrote:
    … Most free fonts that I know of don't allow embedding - for this reason it's not a good idea to use a free font. …
    I'm no particular fan of so-called “free fonts” — you most often get exactly what you pay for. However, that having been said, in my years of gathering such fonts for debugging and problem solving, in fact very few of them are actually set with the protection bits to prohibit embedding. For TrueType and OpenType fonts, you can readily check outside of InDesign as to whether a font is embeddable in a PDF file. For Windows, right-click on a font file and check the properties; embedding privileges are described in one of the tabs. For MacOS, the FontBook utility can provide the same information for a font.
    The problem is that when you attempt to use a font that is physically protected against embedding, you pretty much need to follow the advice given by Eugene. Personally, I would recommend the use a different font option, checking the font prior to using it for your rights to embed it in PDF.
    Note that font licensing is legal minefield. Many fonts that are posted on-line are not really free. Some are shareware with restrictions in their written licenses that require payment for commercial use (often in ReadMe files which may somehow be “lost” when such fonts are reposted over and over again) or even pirated fonts (i.e., commercial fonts simply illegally posted on-line).
    My personal recommendation is that for any commercial use, you explicitly license your fonts from a known, reliable source to avoid possible legal issues in the future.
              - Dov

  • Adobe Reader 9.4.2 SIGSEGV in command-line PDF- PS conversion

    NOTE: This issue was originally reported Oct. 5, 2010, against Reader 9.4.0:  http://forums.adobe.com/message/3186827
    The following should emit PostScript on stdout:
         acroread -toPostScript < PDF_FILE
    Try doing this with Adobe Reader 9.4.2, and all you'll see is
         Segmentation fault
    Adobe Reader 9.3.4 works just fine doing such PDF->PostScript conversions. 
    John

    Forgot to mention: this is occurs on both 32-bit and 64-bit RHEL5 Linux hosts at our site.
    Tail end of an strace for this issue:
    24100 munmap(0xf702f000, 4096)          = 0
    24100 stat64("/u/j/o/john/.adobe", {st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0
    24100 stat64("/u/j/o/john/.adobe/Acrobat", {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
    24100 stat64("/u/j/o/john/.adobe/Acrobat/9.0", {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
    24100 stat64("/u/j/o/john/.adobe/Acrobat/9.0/Temp", {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
    24100 open("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
    24100 close(4)                          = 0
    24100 unlink("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq") = 0
    24100 open("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
    24100 getcwd("/tmp/acrotest"..., 1024)  = 14
    24100 open("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq", O_RDONLY) = 5
    24100 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    24100 +++ killed by SIGSEGV +++
    John

  • PageMaker 6.5 set default PostScript printer for PDF export

    My boss uses PageMaker 6.5 and it appears when she uses the Export to PDF option it is selecting a PostScript printer at random and asking it to "print to file" to create the PostScript file that it later gives to Distiller to create the PDF.  The problem is, she has a "virtual PDF print driver" installed that is not unlike the Adobe PDF printer driver, except it either doesn't support "print to file" or maybe just doesn't like something about the way PageMaker is using it.  It works great from other apps, but not PageMaker.  Anyway, is there a way to force PageMaker to use a specific PS printer for this, instead of picking the first one it finds?  I thought it might be alphabetical order based on driver or printer name, or port name, but I've tried changing all of those, and no luck.  I did install a new PS printer, and that worked for a bit (so I assumed it was using the most recent printer installed), but now it is selecting the virtual one again, and not working... not sure why.
    If she sets the default printer to Adobe PDF Printer (she has Acrobat 9), it uses that one, and everything works fine.  She doesn't want to use that for her default printer though, and the printer she wants as her default isn't a PostScript printer, so PM doesn't try to use it.
    Maybe a registry setting or something?  Or someone that can confirm the order that PageMaker looks for a printer to use, so that I can maybe trick it in to using a specific one?

    If it wasn't my boss, I'd just tell her to do that.  She's been using PM for many many years, and hard to retrain yourself.  Of course, this might be the best option.  Seems like a weird design to "pick a printer at random" though, so hoping someone knows of some hidden option to force a specific printer.

  • Adobe Reader 9.4.0 SIGSEGV in command-line PDF- PS conversion

    The following should emit PostScript on stdout:
         acroread -toPostScript < PDF_FILE
    Try doing this with Adobe Reader 9.4.0, and all you'll see is
         Segmentation fault
    Adobe Reader 9.3.4 works just fine doing such PDF->PostScript conversions.    Will it be another 3 months before this is fixed?
    John

    Forgot to mention: this is occurs on both 32-bit and 64-bit RHEL5 Linux hosts at our site.
    Tail end of an strace for this issue:
    24100 munmap(0xf702f000, 4096)          = 0
    24100 stat64("/u/j/o/john/.adobe", {st_mode=S_IFDIR|0700, st_size=2048, ...}) = 0
    24100 stat64("/u/j/o/john/.adobe/Acrobat", {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
    24100 stat64("/u/j/o/john/.adobe/Acrobat/9.0", {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
    24100 stat64("/u/j/o/john/.adobe/Acrobat/9.0/Temp", {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
    24100 open("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq", O_RDWR|O_CREAT|O_EXCL, 0600) = 4
    24100 close(4)                          = 0
    24100 unlink("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq") = 0
    24100 open("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
    24100 getcwd("/tmp/acrotest"..., 1024)  = 14
    24100 open("/u/j/o/john/.adobe/Acrobat/9.0/Temp/AdobeTempPShUseaq", O_RDONLY) = 5
    24100 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    24100 +++ killed by SIGSEGV +++
    John

Maybe you are looking for

  • PO vendor is not an invoicing party

    Hi, Would like to seek for help for the following scenerio,unable to post transaction from MIRO to FICO during invoice verification level with the above subject. Later, we found out the capex purchase order have  worngly selected an invalid vendor wh

  • RTE, how to use it? Are there step by step instructions to make a runnable file for a SBC, load it and run it?

    How to use RTE? I need to run my CVI code on a SBC that has its OS on CompactFlash (CF). I have done the Build»Distributions command and made a cds file but don't know if I did it correctly. I have downloaded and installed CVI RTE on my desktop PC,

  • Need backend error in SRM while entering Service item

    hi SRM guru , I need backend error while entering Service item in SRM in PO . I have scenario where in I need backend errors from ERP while making entry Service items . I need some configuration or customization that will cause backend error againt S

  • Junk characters in java

    Hi, How to block the junk characters in java when csv file uploading. Thanks

  • Help in refrshing TEST from PROD database

    Hi All, I need to refresh one of my test server with Production instance from the cold backup. Please post a detailed steps i need to perform to do this. Both of databases are in different servers and both are windows servers. Appreciate helping me t