Printing different/selective files with different copies

Hi everyone,
I've been working on finding a solution, on how to print different pdf files with different copies, without opening the pdf-files.
Task:
I have a folder, with 25 pdf files
I want to make a php overview, of the folder
At the end of each line/file - i would like to add a number for the copies
In the end, I would like to simply press print - and every document ive added a number/copies to - are being printet...
I guess I need to use PrintPDF - but does anyone know any pre-made program/function - that could handle the "copies" part...?
I hope someone can help me out,
Thanks
Jan

Well, i had hoped that the acrobat could open silent - eventhough they've removed that feature in the newer versions.
Even though the program would open - if the amount of copies was added - and i just hat to press print - it would ease the job alot.

Similar Messages

  • Error (InvalidArgsError) when Printing to a file with Adobe Acrobat 9.0 Interop SDK

    Hi,
    i am getting a error (Invalid arguments) when trying to print to a file with the Adobe Acrobat  SDK 9.0. When i use Adobe Acrobat 7.0 it works correctly. I set the fileName Property as follow:
    printerParamsType.InvokeMember("fileName", BindingFlags.SetProperty, null, printerParams, new object[] { path2RawFile });
    fileName has the value:  /c/temp/Rawfiles/df76eccc-2465-4f60-a4e7-d11d8da6ed64.prn
    [9464] System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.Runtime.InteropServices.COMException (0x000003E9): InvalidArgsError: Invalid arguments.
    thanks

    Hello,
    I'm sorry you're having trouble with Acrobat. Unfortunately,
    these forums are specific to the
    Acrobat.com website and its set of hosted services, and do
    not cover the Acrobat family of desktop products.
    Any questions related to the Acrobat family of desktop
    products would be best suited in the Acrobat Forums:
    Link to
    Acrobat Forums
    Thanks!
    Michelle

  • How to print a text file with pagebreak.......

    hi to all,
    i am new in java and i want to do print a text file with page break. that text file is converted from html view page with help of htmlconveter class and i want to set page break in the text file.ASCII 12 is not work properly.its not break a page in proper manner.plz reply soon.

    hi to all,
    i am new in java and i want to do print a text file with page break. that text file is converted from html view page with help of htmlconveter class and i want to set page break in the text file.ASCII 12 is not work properly.its not break a page in proper manner.plz reply soon.

  • No printing :I can't print anymore, printing the same file with another programs is ok, printing form LR: Preparing  and Printing indicatorbar in the left hand upper corner are running, but no output at all rom my printer. I have been printing before. I u

    No printing :I can't print anymore, printing the same file with another program is ok, printing form LR (in the same system and printer of course :-) ): Preparing  and Printing indicatorbar in the left hand upper corner are running and completing, but no output at all to my printer. I have been printing before. Next I upgraded to LR5.7.1 but the problem stays. Perhaps some adjustment is changed by me unintentionally, but I have no idea. Does anybody know what to check? Printing to file is also strange,the canvas only seems to accept A4, and crops any image relative to that size, so a 10x15 cm print on 10 x 15 cm paper is cropped to 10x15/2. Anybody any idea? (system win 8.1 64, printer HP B8550)

    I accidentally solved my mystery.  For some reason it was set to "print to file".  I changed it to "printer" and now I am able to print.

  • How to print different copies in sap Script

    Hi experts,
    I am developing the excise Invoice. For this I copied standard print program as Zprogram and Standard Script also.So I can change the ITCPO structure with three copies. But how to check these copies to print each copi with different headings?. what is required code to write in my Script?
    T

    Look at my question =>How To Get Control once Second Print Is Issued to printer in Script
    This might give you some hint.

  • How to print a text file with long lines?

    I am trying to print a text file which contains many long lines. I find that the long lines are truncated on the printouts. How do I wrap up these long lines? Could you give me some examples?
    Thank you very much!

    Here's an example. The "\n" makes anything after it go to the next line. I hope this helps. Look at the Private void getTable() section.
    import java.awt.*;
    import java.awt.event.*;
    import java.sql.*;
    public class LabNine extends Frame implements ActionListener, WindowListener {
         private TextField txtInfo;
         private List lstInfo;
         private Button btnAddInfo;
         private BorderLayout borderlayout;
         private Connection databaseConnection;
         Statement statement;
         ResultSet resultSet;
    public LabNine( ) {
         super("Lab Nine");
         // addWindowListener to close application
         addWindowListener(this);
         // create layout
         borderlayout = new BorderLayout();
         setLayout(borderlayout);
         // create text field so the file input that is selected will be seen in here
         txtInfo = new TextField();
         txtInfo.setEnabled(false);
         Color color = new Color(255, 136, 183);
         txtInfo.setBackground(color);
         add(txtInfo, BorderLayout.NORTH);
         // create list so the file input can be populated in here
         lstInfo = new List();
         add(lstInfo, BorderLayout.CENTER);
         // create button to add selected input file in the text field
         btnAddInfo = new Button("Add Info");
         btnAddInfo.setBackground(Color.cyan);
         btnAddInfo.setFont(new Font("TimesRoman", Font.BOLD, 16));
         btnAddInfo.addActionListener( this );          
         add(btnAddInfo, BorderLayout.SOUTH);
         // set frame attributes
         setSize(450, 250);
         setResizable( false );
         show();
         // get the table/ get the query
         loadConnection();
         getTable();
    public void actionPerformed(java.awt.event.ActionEvent e) {
         // if add button is pushed then it will check to see if an item was selected.
         // if not, then an error message will be displayed else the selected item will be in the text box
         if ( e.getSource() == btnAddInfo ) {
              if ( lstInfo.getSelectedIndex() == -1 ) {
                   System.out.print( "You have not selected an item" );
              else {
                   txtInfo.setText(( lstInfo.getSelectedItem() ));
    private void getTable() {
         try {
              String query = "SELECT FIRST, LAST, EMAIL FROM Names";
              statement = databaseConnection.createStatement();
              resultSet = statement.executeQuery( query );
              while ( resultSet.next() ) {
                   lstInfo.add( resultSet.getString( "FIRST" ) + " " + resultSet.getString( "LAST") + " " +
                        resultSet.getString( "EMAIL" ) + "\n" );
              statement.close();     
         catch ( Exception e ) {
              System.err.println( e );
    private void loadConnection() {
         // define the data source for the driver
         String sourceURL = "jdbc:odbc:people";
         String username = "";
         String password = "";
         // load the driver
         try {
              // load the drive class
              Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
              // create a connection through the drivermanager
              databaseConnection = DriverManager.getConnection( sourceURL , username, password );     
         catch( ClassNotFoundException cnfe ) {
              System.err.println( cnfe );
         catch( SQLException sqle ) {
              System.err.println( sqle );
    public static void main(java.lang.String[] args) {
         LabNine aLabNine = new LabNine( );
    public void windowActivated(java.awt.event.WindowEvent e) {
    public void windowClosed(java.awt.event.WindowEvent e) {
         // closes the application
         System.exit( 0 );
    public void windowClosing(java.awt.event.WindowEvent e) {
         // closes the application
         System.exit( 0 );

  • Print a pdf file with dot matrix printer epson lx 350

    Hi  every body, I've a problem with my dot matrix printer. If i want to print a pdf file, the writers are not in a good format. please help me.
    Excuse if question is not correct it's not depend for me because i'm not an english but french. Thanks!

    Bonjour je m'excuse beaucoup pour poster dans un premier temps en anglais. Je ne savais pas que c'était possible en français.
    Voici mon problème: J'ai une imprimante matricielle de type EPSON LX-350 et je souhaite imprimer des fichier PDF (Adobe reader). Mais la police qu'elle sorte est différente de celle attendue après impression et pourtant avec un fichier Word ou Excel je n'ai pas ce problème de format de police. Alors la question est: est t-il possible d'imprimer sans probléme avec une imprimante matricielle un fichier PDF si oui qu'est comment doit procéder. Existe t'il quelqu'un qui l'a déja essayer et avec quelle marque d'imprimante.
    Merci de votre disponibilité.

  • Smart Collection: How to select files with unassigned/unknown/null metadata?

    Is there an easy way to set up a Smart Collection to show all files with unassigned/null data in a specific metadata field?
    Example: Smart Collection to show all files where IPTC "City" is unassigned (null/ blank)
    I currently have a mickey mouse way of doing it that works, by selecting files NOT containing a,b,c,d,e,f,..... in the chosen metadata field, but can't beleve a more elegant (built-in) solution doesn't exist for unassigned/null values
    thks!

    "I will release a new plugin, Any Filter, in a day or two, that, among many other things, will allow you to search for fields with no values."
    that sounds great, thanks, John!
    i know nothing about the LR internal code, but would imagine that having to check each field's text string against 36 separate conditions (a-z, 0-9) as i'm currently having to do is not nearly as efficient performance wise as just testing against a single null flag or indicator - especially in large catalogs (i have about 120,000 files in mine) 

  • Can't print a pdf file with adobe reader 10.1.12 on a Windows Server 2012 R2 RDS session

    Situation : My users are connected with RDP on a Windows Server 2012 R2 Datacenter Remote Desktop Service and when they log on, their share printers are installed.
    When some users open a pdf file, they can't print it. When they try to print a file, nothing happen... No file sent to the printer...
    I have seen a difference between the shortcut icon of adobe reader for users who have this problem and others.
    No Problem :
    Problem :
    If someone can help me
    Thanks !

    Hi Ajlan,
    To fix my problem, i uninstalled adobe reader X with "Adobe Reader and Adobe Acrobat Cleaner Tool", rebooted the server, installed Adobe Reader XI and rebooted again.
    For some users, this fix the problem but with some others i had to define Adobe Reader by default again.
    I tried without use "Adobe Reader and Adobe Acrobat Cleaner Tool" before and adobe reader X wasn't really uninstall.
    Thanks,
    Regards,
    Sullyly

  • Printing Adobe Reader files with a DeskJet 6540 and OS X.6

    Ever since I upgraded to Mac OS X.6, I've had problems printing .pdf files.  No matter what I teil the printer, it only prints one copy of one page of the document.  I've upgraded to Adobe Reader 9.2.0.  Is this a driver problem?  OS X.6 is supposed to take care of that.  Adobe Reader is the only software that causes this problem, and of course Adobe does not provide support.  Any ideas?

    Hi There...I'm having the same problem, although I'm using XP Pro with Service Pack 3 and an OfficeJet 6500 , e709n ...and
    it was working until this past couple of weeks.  I can't print ANY PDF, doesn't matter if it's old or new...  If I "do" a preview, all I see is a line of print across the top of the page.
    Anything else will print other than PDF's, so of course it's driving me nuts! I've even reinstalled the driver for the printer; but it didn't make any difference except for my time and frustration. I hope someone can give us an answer soon...there are important docs I need to print out.

  • Printing denied PDF-file with pasword from Sony Xperia LT25i

    See the subject.

    Hello @ruvmax ,
    Welcome to the HP forums.
    I understand that you are having problems printing a secured PDF.
    I would like to help.
    You did not mention what model of printer you have, or how you are sending the print job to it.
    Since the Phone is Android 4.1 I can rule out the ePrint app.
    The App is only supported on 4.2 or higher.
    I am going to proceed under the assumption you are sending the PDF to the printers ePrint address.
    I am also assuming your printer supports ePrint.
    ePrint does not support encrypted or secured files.
    This is why the password protected PDF will not print.
    Try saving a version of the document without a password.
    Send this version to the printers ePrint address.
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • Select file with operator sign in name

    Hi,
    I Have a little problem with my powershell and it's driving me crazy. The goal of the script is to move file base on a filter.
    The name file : 4456#FIDI#FIDI-+-ASSURANCE#20140407#093415#71545176#5266875.wav
    The filter : #FIDI#FIDI-+-ASSURANCE#
    Here is my code :
    $directory_origine8 = "R:\RECORDS_ALL\OLD_RECORDS\other records\ALL_FIDI"
    $directory_destination8 = "R:\RECORDS_ALL\FIDI\Assurance"
    $filter8 = "#FIDI#FIDI"-+-"ASSURANCE#"
    $filter8
    foreach ($file8 in (Get-ChildItem -Path $directory_origine8 -Recurse | Where-Object { $_.Name -match $filter8} ))
    $filter8
    $fichier = $file8.Name
    $fichier
    $path_fichier = $file8.fullname
    $path_fichier
    At the end of the execution I get "#FIDI#FIDI"-+-"ASSURANCE#" which is line 4. I have plenty of files matching the filter.
    Can you help me ?
    best regards
    GenePatton

    GenePatton
    Just execute only these two lines
    $filter8 = "#FIDI#FIDI"-+-"ASSURANCE#"
    $filter8
    You will get an error
    Or you trying to filter file contains FIDI and ASSURANCE
    $directory_origine8 = "R:\RECORDS_ALL\OLD_RECORDS\other records\ALL_FIDI"
    $directory_destination8 = "R:\RECORDS_ALL\FIDI\Assurance"
    #$filter8 = "#FIDI#FIDI"-+-"ASSURANCE#"
    #$filter8
    foreach ($file8 in (Get-ChildItem -Path $directory_origine8 -Recurse | Where-Object { $_.Name -contains "*#FIDI#*" -and $_.Name -contains "*ASSURANCE#*"} ))
    $filter8
    $fichier = $file8.Name
    $fichier
    $path_fichier = $file8.fullname
    $path_fichier
    or this
    $filter8 = "#FIDI#FIDI-+-ASSURANCE#"
    $filter8
    $directory_origine8 = "R:\RECORDS_ALL\OLD_RECORDS\other records\ALL_FIDI"
    $directory_destination8 = "R:\RECORDS_ALL\FIDI\Assurance"
    $filter8 = "#FIDI#FIDI-+-ASSURANCE#"
    $filter8
    foreach ($file8 in (Get-ChildItem -Path $directory_origine8 -Recurse | Where-Object { $_.Name -match $filter8} ))
    $filter8
    $fichier = $file8.Name
    $fichier
    $path_fichier = $file8.fullname
    $path_fichier
    Regards Chen V [MCTS SharePoint 2010]

  • Number of different copies to be printed in smartform

    Hello,
    I have developed a smartform with 3 different pages, now when i give a print command , the first page should print 2 number of copies , second page should print 3 number of copies and the third page should print 4 number of copies.
    Is it possible in smartform, if so how?
    Thanks and Regards
    A

    hi,
    for printing different copies u have to use loop in main window and check for the condition for number of page.
    and den after printing all the values in mainwindow put command node and mention page no say page1 in urcase there put condition fr watever amount of repeated copies u want ex 2 in ur case.
    then once 2 times page 1 has been printed put a commad for goto page 2 and loop accordingly for the no of time u want
    then for the third page.
    hope this will help u .
    regards,
    prashanti

  • How to make a project with selecting files in a project

    I have so many files in a project and would like to select files with filter and make a project.
    Right-click didn't help me.
    Thanks
    JH

    Select the items in the project, and then use the command "New > Project" from the main menu bar.
    Then enter the name of the new project into the text field of the "Drop down" panel and check the "Move selected items to new project" button.

  • Cannot print PCL file with graphical content

    If I try to print a PCL file with graphical content using lp then the output is corrupt on a network printer. I've tracked the problem down to the netpr program - which seems to be performing some sort of filtering on the data. Does anyone know how the flags work for netpr - or know of a work around?

    Assuming you are running 10.10.2 and not the ancient 10.0.2, can you tell us what printer and printer driver you are using? How is the printer connected to the computer (network, usb)? See if you can delete the Reader preference files? Years ago I resetting the printer subsystem would sometimes cure a problem like this.

Maybe you are looking for