Print Using Command acroread Layout Incorrect

At the moment we are using the command "cat file.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -s -dprintername" to print PDF files to a network printer. This is in a Linux (RedHat) server with Adobe Acrobat 9.5.5 installed.
The problem we are facing now is the incorrect layout. The right and left side are cropped. This PDF file has specifically set the right and left margins to '5' points. Other PDF files with default margin values prints out OK.
But if I open the file using the GUI Acrobat Reader and print, it prints out OK.
What are the options in the command acroread to have set the page scale to "Shrink to Printable Area"
I have tried the "-scale" option. Setting this to 50 deems no change

At the moment we are using the command "cat file.pdf | acroread -toPostScript -shrink -rotateAndCenter | lp -s -dprintername" to print PDF files to a network printer. This is in a Linux (RedHat) server with Adobe Acrobat 9.5.5 installed.
The problem we are facing now is the incorrect layout. The right and left side are cropped. This PDF file has specifically set the right and left margins to '5' points. Other PDF files with default margin values prints out OK.
But if I open the file using the GUI Acrobat Reader and print, it prints out OK.
What are the options in the command acroread to have set the page scale to "Shrink to Printable Area"
I have tried the "-scale" option. Setting this to 50 deems no change

Similar Messages

  • Print using command line

    Hello experts,
    As mentioned in http://support.adobe.com/devsup/devsup.nsf/docs/52080.htm we can use command line instruction to open a pdf file in Acrobat Reader and print it.
    Does anyone know if this works both in Windows and in UNIX?
    Thank you.
    Gie Kian Siauw

    Hi Gie,
    On Unix, you can use commandline instruction to create ps files from the pdf files.
    for eg. "acroread -toPostScript -pairs a.pdf a.ps"
    You can also pipe the ps output to a printer.
    for eg: "acroread -toPostScript -pairs a.pdf - | lp -d <Printer Name>
    This is a headless process of printing pdf files without the launching of acroread.
    The file is not opened in the acroread and just printed.
    Regards,
    Rishi

  • How to print a specific page from a given PDF document, using command line, please?

    Hello,
    I need your advise, please. My customer requires to print a specfic page from a pdf document they receive, using command line or 3rd party solution.
    Anything you can advise, please? I have seen AcroRD32.exe options, but can only print the whole document.
    Kind Regards

    Not sure if there are any examples. The Acrobat SDK is a must, but it is best treated as documentation to study rather than examples to copy. The examples only illustrate a tiny fraction of the capabiliies.
    (One other note: the solution must involve the client owning Acrobat; Acrobat is not for server use).

  • When i print using the email option, the hpeprint site shows the incorrect time for printing

    when i print using the email option, the hpeprint site shows the incorrect time for printing

    See this:
    [http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page]

  • It didn't work while using command "start /wait msiexec /i AcroRead.msi LANG_LIST=CHS;CHT /qn"

    Hi,
    It didn't work while using command "start /wait msiexec /i AcroRead.msi LANG_LIST=CHS;CHT /qn" to install Adobe reader XI for MUI support. The MSI version is the latest version "AdbeRdr11000_mui_Std".
    could you please help to provide a solution for MUI install support?
    Thanks!

    Thanks Jeff for helping.
    The version of the install software is definetely 32 bit. eg its PremiereElements_10_LS15_win32.exe with the corresponding win32 zipped file.
    BTW the fact that I can extract the files and then run the program as a stand alone program means I think? that it is the right version and can run on this computer. Its obviously an install issue it seems.
    The version of XP i have is XP prof sp3 version 5.1 build 2600.xpsp_sp3_gdr.101209-1647
    Based on your comment regarding the install version, I found and downloaded the 4.5 version of the msiexec software. Tried to install the PE again and got the same error ... EXCEPT that now the output comes from the 4.5 version instead of the previous version. eg.
    Windows ® Installer. V 4.5.6001.22159
    msiexec /Option <Required Parameter> [Optional Parameter]
    Install Options
    </package | /i> <Product.msi>
      Installs or configures a product
    /a <Product.msi>
      Administrative install - Installs a product on the network
    /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>]
      Advertises a product - m to all users, u to current user
    </uninstall | /x> <Product.msi | ProductCode>
      Uninstalls the product
    etc etc.
    So obvously the new installer got installed, but still the install process doenst work.
    Any further ideas.

  • Issues With Printer Using drv:///sample.drv/generic.ppd from Command Line

    Hi All,
    I was using generic postscript driver earlier with Mountain Lion. I Created a print queue using "lpadmin -p MYPrintQueue -m drv:///sample.drv/generic.ppd -v socket://<IP>:9100 -E"
    This created a print queue with Generic Postscript Driver.
    Now when i am trying same command with Mavericks, It's Creating a Local Raw Printer. Can anyone tell me where i am going wrong.
    I need command line resolution only.
    I know i can create print queue from cups web interface. There its working fine.
    But i need to use command line only.
    Thanks.

    Hi,
    Would you please try following commands?
    Please don't add quotes on the inf file path: change the driver folder name NC Print Drivers as NCPrintDrivers.
    rundll32 printui.dll PrintUIEntry /if /f C:\Temp\NCPrintDrivers\dellopd_A06\dellopd.inf /r "192.168.10.157"
    Make sure to run the command as admin.
    Let me know if it can work fine.
    Kate Li
    TechNet Community Support

  • After upgrading from FM 9 to 11, FM crashes when the Print Book command is used. Suggestions?

    After upgrading from FrameMaker 9 to 11, the program crashes when the Print Book command is selected to print files that were converted from FM 9 to FM11. (Resulting .pdf files are problematic, w/ broken links and non-functioning bookmarks.)  Has anyone encountered this issue, and can you suggest a workaround? Thank you!

    Known bug - already fixed - get the latest FM11 patch

  • HT1893 How can I still print using a 'hp designjet 120nr (C7791B)' with OS X 10.8.3?

    How can I still print using a 'hp designjet 120nr (C7791B)' with OS X 10.8.3? I cannot get the drivers to work?

    bdmorgan wrote:
    Thank you once again Matthew. I understand the importance of being thourough and followed your instruction exactly. I really thought that this would solve it and was ready to click 'This solved my question'. However I still have the same print options as before, no 'A1 on the roll'.
    Although, when I copied:
    'sudo pkgutil --forget org.linuxprinting.foomatic-rip'
    into Terminal it did say somehting along the lines of 'nothing found' (sorry I didnt copy the text). Could this be part of the issue?
    In this case the instructions were incorrect.  I forgot that the uninstaller would run that command.  The reason for that command was to let the system know that foomatic-rip 4.0.6 had been removed.  I am sure that you were able to then install foomatic-rip version 3.43.2.15.  There are two ways to confirm that the older version is now installed.  First, if you can print at all, it is present.  You could also copy and paste the following command in the Terminal.  It should respond with the version that is installed:
    pkgutil --pkg-info org.linuxprinting.foomatic-rip | grep version
    Do I need to change the PPD at all?
    There is no need to change the PPD.  PPDs are reflective of the software (drivers) that are called from the PPD.  You can put anything you want in the PPD.  If that capability is not in the driver, having it in the PPD won't make it work.
    Setting a job to print from A1 Roll Paper is a two step process.  First you select the Paper Size which is A1.
    Then look under the pop up menu below Paper Size for an item called Paper Feed.
    Select Paper Feed.  Then you will be able to select where/how the paper is being fed to the printer.  This is where you can choose Roll Paper (Cut) or Roll Paper (No Cut) among other choices.
    Other drivers may have A1 Roll Paper listed under Paper Size.  Perhaps that is how the HP driver was.  There would still have had to be a place, then to check whether or not you wanted the paper to be cut and/or whether you were feeding sheets of paper from one of the other paths.
    Let us know if you can find all the options now and that you are able to keep your normal workflow.

  • Label Printing Using Address Book - How can I Print multiple labels of the same name?

    Label Printing Using Address Book - How can I Print multiple labels of the same name?

    I used to be able to print multiple copies of the same picture on one page using iphoto. There was a customise button when you went through to print and it was there somewhere. I can't see it anymore - maybe since an upgrade.
    It's gone. But as a work-around, duplicate your photo (⌘D) to create as many versions as you want copies and select all at once. Then use the "Custom" print layout and set the photo size you want.
    After printing, trash the added versions.

  • PDF Printing Issue - Customised Report Layout Error

    Hi,
    I am trying to get a PDF file output based on the customised RTF file created. I follow the following steps but I am facing an issue with that.
    (i) Go to Shared Components > Report Queries.
    (ii) Create a new Report query with more than one query.
    (iii) Using the XML Data in the Report queries, create a Report Layout (RTF) file.
    (iv) Navigate to shared components Report Layout and upload the RTF file.
    (v) Once this is done, use the Report Layout created in the Report Queries. Select the Layout name from the Drop Down.
    (vi) Click on TEST REPORT, this produces an error: Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded )
    Additional Info
    The apex instance configured with Embbedded plsql, rdbms version is 11.1.0.7.0 and the BI publisher version 10.1.3.3.
    ISSUE DESC
    When I use mulitple Queries even after using Generic Report Layout I get the output for the first query alone in the PDF and the remaining Queries are ignored.
    And when i use a user defined template, then even If i have a single report query I get the error.
    To summarise, I am not able to use the customised Layouts.
    I have reproduced the issue in apex.oracle.com
    Please log in using,
    WORKSPACE: demo_test
    USER NAME: [email protected]
    pwd: vidhya
    After logging in please select the Application Builder.
    In that select the Application named PDF.
    Select the Shared components > Report Queries
    Select the Report Query named test.
    Click on the TEST REPORT button in the Source Queries Section.
    You will get the error.
    Now in the same page in the Report Query Attributes Section change the Report Layout to Use Generic Report Layout and then click on 'TEST REPORT', this will give the PDF file without errors.
    The same report has been called from the PRINT REPORT button provided in the page 1 of the application.
    This issue is really urgent and critical. Require your inputs/help.
    Thanks,
    Ramya

    I' an APEX newbie and believe I am having the same or a similar problem. I am (for now) developing a system using the hosted Apex development system online. I have created a Report Query which works fine with the default layout. I downloaded the XML (tried both sample data and schema) into Word 2007 with the BI Publisher Template Builder. I used the table wizard to create a simple layout containing all columns with no customization at all. Saved as an RTF, uploaded to Apex as a Report Layout, associated it with the Report Query, clicked Test Report -- and I got nothing.
    When the is a PDF, I get the same error you mention ( Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded ). If I switch to an HTML file the out is just a blank screen.
    If I switch back to generic report layout, it works fine. This suggests there is something wrong with the template, though it looks fine in Word with the sample data.
    I've searched the forums and Google for the better part of a day. What am I missing?

  • PLD: B1 always uses the same layout in Sales Opportunity(2005A SP1 PL31&36)

    Hi all,
    I can change the print layout of Sales Opportunities and Payment Receipts (B1 will show the defined layout in bold), but when I preview it, or print it, the same layout is always used. I have noticed this in 4 systems, using SQL  Server 2000 and 2005...
    Has someone come across this problem? How can I solve it?
    Best Regards,
    Vítor

    Hello Shanker,
    I did just that, the problem is whatever layout I choose as default, B1 uses one that was set before...
    I've been doing some tests and got the following results:
    In the Layout Designer, after pressing the "Set as default" button, we have these options:
    1. Set as default for All users
    2. Set as default for Current User
    3. Set as default for all BP's (for whom a default template has not been assigned)
    4. Set as default for specific BP
    I tried out all the possible combinations and got the following results:+
    If,
    1     2        3      4
    No     Yes     Yes     No   --> Printout OK, B1 Bad
    No     Yes     No      Yes  --> Printout Bad, B1 OK
    Yes    No      Yes     No   --> Printout OK, B1 Bad
    Yes    No      No      Yes  --> Printout Bad, B1 Bad
    Printout OK = The layout I choose as default is the one used;
    Printout Bad = The layout I choose as default is not the one used;
    B1 OK = SAP B1 shows in bold the layout I choose as default;
    B1 Bad = SAP B1 does not show in bold the layout I choose as default.
    Can please someone verify if this happens in other systems (I've tested in B1 2005A PL31 and Pl36)?

  • Example using command protect & endprotect

    hii gem's
    im unable to find the difference when using protect...endprotect
    without tht bcoz im getting same output
    ex:
    /: protect
    PH  'THIS IS TEST'
    PH  'THIS IS TEST'
    /: NEW-PAGE
    PH 'THIS IS TEST'
    ENDPROTECT
    please give a example using command protect & endprotect
    THANK U
    REWARDS FOR GUD REPLY
    REGARDS
    JAIPAL

    Hi Jaipal,
    It is mainly used to prevent the page break
    menas whatever lines you wrote between these protect and endprotect they are always printed in a single page only and they won't split into two pages though there is no full space
    go to SE71 see any scripts pagewindows
    you will find a lot of examples
    /E           TOTAL_AMOUNT
    /:           PROTECT
    UL           &ULINE(71)&
    TO                                                                                  
    TO           ,,Total net value excl. tax &EKKO-WAERS&,,
                                        &KOMK- FKWRT&
    /:           IF &SUM-EURO-PRICE& NE '                0,00'
    /           ,,                          EURO,,&SUM-EURO-PRICE&
    /:           ENDIF
    /:           ENDPROTECT
    Reward points for useful Answers
    Regards
    Anji

  • Trouble with printing through 10.8 shared printer using lpd.

    Hi, hoping someone will have had a similar issue.
    I am using a OSX 10.8 mac mini as a print server.  I am using it as a print server because because i have clients that print across subnets and bonjour will not work for this application.  Previously with my 10.7 imac I had shared the generic printer aimed directly at the printers IP address.  Client macs aim at the print server using lpd (using ip or host name) and then the printer name (share) for the queue and also use the generic ppd. When a client adds this configuration aimed at the old 10.7 print server the printer would install and printing would be succesfull.  Now with the 10.8 print server a client (reguardless of client OS version) i get the "Unable to verify the printer on your network." when installing and printing fails. I have tried the proper ppd for the make/manufacture of the printer (i didnt think this would make a difference) I have tried using the cups commands as well:
    cupsctl --share-printers
    cupsctl --share-printers --remote-any
    cupsctl 'BrowseLocalProtocols="cups dnssd lpd smb"'
    assuming lpd was just not available and needed to be turned on...
    I am able to ping the 10.8 on the network from clients verifying they can see the server
    also have tried using ipp with no luck.
    Anyone else had this issue and if so is there a work around?  Thanks!

    The Mini prints just fine to the printer.  on a side note, I tried to add a "client" printer to the mini server.  I added a printer using the ip address 127.0.0.1 (self resolving)  and the que name as the share.  This didnt work either.  Im thinking this must be a cups setting?

  • Slow Print and Print Setup command in Reader Ver. 8.1.2

    Print and print setup command take over 30 seconds to load on Reader ver. 8.1.2. I tried ver 6 and same thing happens. Using the print shortcut and same thing happens.
    System: New Dell computer (Windows XP Pro, SP2). Any advice would greatly be appreciated.

    You are not alone. Same problem here on a brand new computer with 2GB of RAM. Three minutes total to print a small, black and white 1 bit, 15 page pdf file. Previous to 8.1.2 (8.1.1) the same version printer drivers (Xerox Phaser 8860 Series) worked fine (both PS and PCL versions). I've been trolling for a fix this morning - so far nothing.

  • Wats d in-built print PROGRAM name for layout MEDRUCK???

    wats d in-built print PROGRAM name for layout MEDRUCK??? and can we change it??
    wat shud we do if we want2 change it??
    i mean...assume we got a scenario in which we need ta use MEDRUCK layout n print progrm n change some text in it.. and d address  and header in it..
    how cud we do dis??

    Hi ,
    The print program name for 'MEDRUCK' is <b>SAPFM06P</b>, it is not advisable to change the print program instead if you want to do any changes use Subroutines in the layout. Eg : PERFORM <Subroutine name> in PROGRAM <pname> USING <in_variables>
                   CHANGING <out_var>
    ENDPERFORM.
    Srini

Maybe you are looking for

  • Generate sqlscrip in sql server 2008 using c#

    i need to generate sqlscript with data in c# windows application. (when client click the button)..how to do this..

  • How do I stop Google Account login from opening every time I open a new window?

    Upon start up of Fire Fox or any time I click a link to open a new window or if I am in an application that opens a new window, the Google Account login screen keeps opening in a new tab. How do i stop this?

  • How can i use JMSProducerStats interface

    hello, every application server implements the interfaces of javax.management.j2ee.statistics , how can i get the results of the methods given by those interfaces (such asJMSProducerStats ) on the runtime of the as. Thank you.

  • Refine Edge with complex background

    I am working on an Easter poster for my family, and I found a photo of a bunny on wikimedia commons that I liked (shown below). When I first looked at it, I thought, "I've used the refine edge tool a few times before. I can isolate the bunny from the

  • Error in fetching the row

    Hi, I got a form and report page. When i run the form page directly, getting ORA-01403: no data found error. If i run the report page, and the select the create it doesn't seem to be a issue. what would be the problem?? thank you