Combining images into two separate postscript files into a single file with a single line

I have two postscript files, each representing a pure black and white, images identically companies (generated by Eagle PCB, is not that it's all that relevant), as it is attached.   I would like to combine the two files into a single file where are the two images side fits on one line so I can print them together.   What is the easiest to do this route?

Example files:

https://www.dropbox.com/s/rrcw4t4bk0x5x6u/file1.PS?DL=0

https://www.dropbox.com/s/21de4f9c35qa3w3/File2.PS?DL=0

In fact, I could solve the problem with a little reverse engineering of the Postscript and a bash script.

The files two postscript define a bunch of common functions and some points of reference and call these functions to draw geometries.  I just extend the width of a drawing by 2 X, remove the "grestore" from the bottom, translate the origin back to the middle and shoot another image, followed by a "grestore.

Resulting file:

https://www.dropbox.com/s/p378o2vtppl6v1y/combined.PS?DL=0

Tags: Adobe PostScript

Similar Questions

  • I have two pdf files. Can I combine them into a single file without analyzing? How?

    I have two separate pdf files.  A file consists of a single page, and the other has two.  Is it possible to combine the two files into a single PDF without sweeping? The analysis does not provide a clear copy.

    Not with just the free reader. Can be done with Acrobat or some of its associated services.

  • How can I take 2 files saved on Word 3 and combine them into a single file?

    How can I take 2 or 3 files saved on Word 3 and combine them into a single file?

    How can I take 2 or 3 files saved on Word 3 and combine them into a single file?

    Hello

    The easiest way would be to simply copy all the content files and paste them into one of the other files.

    Concerning

  • Merge multiple images into a single file

    Hi all

    I am writing because I need to merge multiple images into a single file and do not know how.

    I need to create a large table with several aerial photographs, so I didn't need to create a panorama, but I would like to use an automatic procedure to merge the images because they are many.

    Can you help me??

    I tried photomerge but it creates more levels without ordering the photos...

    If all the files are the same size, there is a script "File Stitcher" @ http://www.ps-bridge-scripts.talktalk.net/

  • HP Officejet 7610: Scan of the computer cannot be activated or scan and combine them into a single pdf document.

    I've recently updated to macOS Sierra 10.12 and scanning to HP computer software cannot be located when I open the HP utility.

    I can't find a further recommended HP software for my device other than El captain in operating system online.

    If I try to scan through preferences systems for printers and Scanners I can open the scanner, but I can't create a PDF combining into one document - it cancels the procedure after about 2 pages!

    The scan HP Destinations 'PDF for Adobe Reader' is red 'could not locate the target application that might have removed or uninstalled. File format = "PDF".

    How can I get that back?

    Thank you

    Hi @JOGL,

    Thank you for joining the HP Forums!

    I understand that computer analysis can not be activated as well as the scan and combine them into a single pdf document. With your printer HP Officejet 7610. I am pleased to see that for you!

    At this time for this model. There is no software and drivers for Mac OS X 10.12 again, given that the operating system has just been launched, it could take some time. For the time being, you can try to use HP Easy Scan to see if that can meet your scanning preferences. In otherwise, all we can do is wait for the software and drivers to be released.

    If you are unable to reach a resolution, please click on accept solution. If you appreciate my help, please click on the thumbs up icon. The two icons are below this post.

    Thanks for posting and have a nice day!

  • "One-click" How do I export an image to a set of files with different resolutions .png?

    Hello

    How far is 'one-click' export an image to a set of files with different resolutions .png? (I need for a set of iOS app icons).

    For example: export a file MyAppIcon.psd in the following:

    MyAppIcon_29x29.png

    MyAppIcon_57x57.png

    MyAppIcon_114x114.png

    MyAppIcon_512x512.png

    MyAppIcon_48x48.png

    MyAppIcon_72x72.png

    I almost managed to do with the Actions of Photoshop, but does not know how the names of files to include the name of the original image file. In other words, the NewApp.psd file should export to NewApp_29x29.png, not MyAppIcon_29x29.png.

    Thank you!

    No problem, please try this...

    #target photoshop
    app.bringToFront();
    main();
    function main(){
    if(!documents.length) return;
    var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
    try{
       var Path = activeDocument.path;
        }catch(e){
            alert("Please save this file then re-run the script!");
            return;
            }
    var strtRulerUnits = app.preferences.rulerUnits;
    var strtTypeUnits = app.preferences.typeUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    snapShot();
    var saveFile = File(Path + "/" + Name + "_512x512.png");
    activeDocument.resizeImage(512, 512, undefined, ResampleMethod.BICUBICSHARPER);
    SavePNG(saveFile);
    revertToLastSnapshot();
    var saveFile = File(Path + "/" + Name + "_114x114.png");
    activeDocument.resizeImage(114, 114, undefined, ResampleMethod.BICUBICSHARPER);
    SavePNG(saveFile);
    revertToLastSnapshot();
    var saveFile = File(Path + "/" + Name + "_72x72.png");
    activeDocument.resizeImage(72, 72, undefined, ResampleMethod.BICUBICSHARPER);
    SavePNG(saveFile);
    revertToLastSnapshot();
    var saveFile = File(Path + "/" + Name + "_57x57.png");
    activeDocument.resizeImage(57, 57, undefined, ResampleMethod.BICUBICSHARPER);
    SavePNG(saveFile);
    revertToLastSnapshot();
    var saveFile = File(Path + "/" + Name + "_48x48.png");
    activeDocument.resizeImage(48, 48, undefined, ResampleMethod.BICUBICSHARPER);
    SavePNG(saveFile);
    revertToLastSnapshot();
    var saveFile = File(Path + "/" + Name + "_29x29.png");
    activeDocument.resizeImage(29,29, undefined, ResampleMethod.BICUBICSHARPER);
    SavePNG(saveFile);
    app.preferences.rulerUnits = strtRulerUnits;
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    }
    function SavePNG(saveFile){
    var pngOpts = new ExportOptionsSaveForWeb;
    pngOpts.format = SaveDocumentType.PNG;
    pngOpts.PNG8 = false;
    pngOpts.transparency = true;
    pngOpts.interlaced = false;
    pngOpts.quality = 100;
    activeDocument.exportDocument(new File(saveFile),ExportType.SAVEFORWEB,pngOpts);
    }
    function snapShot() {
        var desc9 = new ActionDescriptor();
            var ref5 = new ActionReference();
            ref5.putClass( charIDToTypeID('SnpS') );
        desc9.putReference( charIDToTypeID('null'), ref5 );
            var ref6 = new ActionReference();
            ref6.putProperty( charIDToTypeID('HstS'), charIDToTypeID('CrnH') );
        desc9.putReference( charIDToTypeID('From'), ref6 );
        desc9.putEnumerated( charIDToTypeID('Usng'), charIDToTypeID('HstS'), charIDToTypeID('FllD') );
        executeAction( charIDToTypeID('Mk  '), desc9, DialogModes.NO );
    };
    function revertToLastSnapshot() {
       var doc = app.activeDocument;
       var hsObj = doc.historyStates;
       var hsLength = hsObj.length;
       for (var i=hsLength - 1;i>-1;i--) {
         if (hsObj[i].snapshot) {
           doc.activeHistoryState = doc.historyStates.getByName('Snapshot ' + i);
           break;
         }
       }
    };
    
  • Call a visual basic executable file with arguments command line using LABView

    Hi all

    I try to call a visual basic executable file with a command line using LABView 2014 argument. What I'm trying to accomplish executes an executable file that communicates with a device via a COM port. So, I would open the .exe with a command line argument to communicate via com 3 using the SYSTEM Exec VI. It seems that the command prompt window flashes and closes and then nothing happens. Not a lot of discussions about this on the forum. Any help would be greatly appreciated. Thank you.

    With some programs, instead of passing in the string:

    Somefile.exe

    Instead, you can use:

    cmd /c "C:\Full Path\to the EXE\Somefile.exe"

    Can you tell us what exactly you are trying to run?

  • I'm trying to create a PDF file with several signature lines in that anyone can "Sign" by using their digital signature CAC (Common Access Card) active. The goal is to have a single document that people can open, sign on a designated line and save the doc

    I'm trying to create a PDF file with several signature lines in that anyone can "Sign" by using their digital signature CAC (Common Access Card) active. The goal is to have a single document that people can open, sign on a designated line and save the document (replacing the existing document) and close. Then another person can open the same document digitally sign another area of the form, save it, and close it. So on, and so on. Is there a way to do this? At the end of the day, I would end up with a PDF file with literally hundreds of signatures to enable different ACC everywhere...

    I don't understand what the problem is. In the post of the davidr96549424 on May 8, 2015 07:58 you presented a structure of a correct document. Is the issue of the creation of this structure in a PDF file? For this, you will need an Acrobat, not reader.

    XI in Acrobat, select Tools-> forms-Edit. Click 'No' on the form fields 'detect '. In the tasks Panel that opens, click on "add new field". Select "Digital Signature" and move it to the location in the document where you want to than the appearance of the signature to be. Repeat that for signature fields as you want. Users will sign by clicking on the prepared unsigned signature field which shows the dialog box "sign. Do not forget that as TSN has noted that a digital signature applies to the entire document. The entry in the document where it is is irrelevant. Each next signature covers all previous signatures.

    Your users can also sign a document from anywhere that they want without signature fields already prepared. For this select fill & sign-> work with certificates and the type of signing you want to sign up with. A dialog box that will tell you a rectangle for the appearance of signature rises and after you draw the rectangle of the dialog 'Sign' rises.

    PDF/Acrobat doesn't have a limit on a number of signatures in a PDF document. But! Don't forget that when you open a PDF file with Acrobat/Reader signatures valid all of them and takes time (several seconds - until 10 - for every signature), so if you have several signatures of dozens of their validation open can take a long time.

    I don't know how build you your workflow so that each person signs the same PDF and saves it. Economy runs on the same computer where the PDF is stored. You'll have to decide how to allow different people to have access to the same PDF. They, of course, you may sign this only one-at-a-time PDF.

  • How to split a video into images and combine them into a single image?

    Little context:

    A game called Roblox let's make you your own games, publish, advertise and monetize them, etc. all this for free. It does not support videos, so I want to make my own using pictures. I have already tested with images individual, but which is laggy. So I thought, what happens if I make an image with a bunch of images in there and have this image to move on the screen it looks like different images.

    So here's what I want as a result (but with my own video and without white space between each image):

    e693b7e58f96e8a696e8a88ae5bdb1e5838f-extract-video-frames.jpg

    How would I achieve that? Is Photoshop the right tool or other necessary software?

    Too bad!

    I use FreeVideoToJPGConverter (software) to convert my videos in jpg files.

    Then, I use Photojoiner.net to convert them into a single image.

  • Adobe pro 9 will not recognize the .xlsx (Excel) files to combine documents into a single PDF

    I have yet to understand why Adobe pro 9 does not recognize the .xlsx files to combine into a PDF file. Need this problem solved quickly before our high season resumes. any suggestions? I know that you can save the Excel worksheet to a PDF document, but it takes too much time and space on our server. We must be able to combine the Excel file with files Post Script together at a time instead of going back to add more later. We are constantly updating of spreadsheets on a daily with the type of business that we do, you can understand why save the worksheet in PDF format updated every hour is a problem/waste of time.

    Thank you

    Brittany

    My guess is that you have OFFICE 2010 or newer. AA 9 PDF Maker that is necessary for what you want to do is not compatible with OFFICE 2010.

  • How to reverse a PSD file that combined layers into a single layer...

    Hello

    I'm not sure what happened, but I got a PSD file, I was working with multiple layers and then I saved a PDF file of the file and I think I may accidentally active files somehow because now my PSD file layers are combined in a background. How to cancel it (somehow liberate all the layers in the file again)? I need to send the PSD file with all its layers available for editing, and I have no idea how to solve this problem.

    Any help is greatly appreciated. Thank you very much!

    ashmic19

    Unless you have a copy backup of the PSD layered, you can't. Once flattened and saved, you can never restore flattened layers, they are gone. Sorry... better is to save several copies so in this case in the future you don't suffer that again.

  • How to insert an image .png in the postscript file that with /ASCII85Decode, filters /LZWDecode.

    Under linux, I want to develop a calibrated printer driver.

    where to print a document, I get sending file postscript postscript printer driver, the content of the file is shown below:

    %! PS-Adobe - 3.0

    %% BoundingBox: 0 0 612 792

    %% HiResBoundingBox: 0 0 612,00 792.00

    %% Creator: GPL Ghostscript 910 (ps2write)

    %% LanguageLevel: 2

    %% CreationDate: D:20151103175615 + 08 '00'

    %% Pages: 1

    %% EndComments

    % BeginProlog

    CurrentFile /ASCII85Decode filter /LZWDecode filter cvx exec

    "(J.'GP1) YJ2: a-L/6rF = & 5] f ', $9VMV4PfsINPg $lJV; < [.@O%03.smQ('PQ#V^%=ggiP:i9P6m1

    (& e, #6QsIUEP1 ^ W4j % > VfmLeP21i ['0XteJ5' - rMBI73qYi] MqRS: _____) [:!] GtMG0% ^! tgdCBfAL)

    [[FIC *'* + _5Lbn > 92]] a #cSAZ & > A@c2Y\jd2S! P$:g'tTf,7oM*o%:D37/I$S.] \mgscphMRIG413

    (Z = Q; ") 5F8) ' Qr"(=NfCOoQ) ibUD "" CCLE1_ #S2 = * J! 5rCj3Lri1 "f$ rI5 + n6R8\ * imVK6JF'6bb

    ...

    In this file, contains a string in /ASCII85Decode /LZWDecode filter, what is the meaning of this chain, this content it contained? And how to generate this string.

    And now I want to edit this postscript file, and add a .png image to print content. How can I do?

    Thank you very much for your help!

    This indicates that the data is compressed with LZW compression, then this is a compact representation of ASCII-oriented. LZW is used in GIF, but this does not mean that someone dumped a GIF file.

    PNG files using Flate compression, but you can't empty a PNG into PostScript file. Your steps

    1. understand the PostScript imaging model.

    2. understand the PostScript image format.

    3 understand how filters are specified in PostScript format.

    4 completely parse and decompress the PNG. I hope that there can be no alpha channel!

    5 convert the PNG data you analyzed in PostScript.

    6. Add the appropriate image transformations.

    7. Add in PostScript. Discover the point of law cannot be simple.

    Working with formats JPEG is a little simpler, as most of the JPEG files are directly compatible with the DCTDecode filter.

    If you do not have the PostScript language reference manual, you need, and you will need to spend a few weeks or months immersed in it...

  • Script that export two separate PDF files of paper with two pages AND change the name of the file, the number two of the PDF

    OBS: Script InDesign CS3:

    I have a document with two pages but a file name!

    I need a script which

    1 export the two pages in format PDF separated two - so NOT a single PDF file with two pages but two PDF files

    2. the first PDF file must have the same name as the document - for example .indd13ESW110020216TC0-> ESW110020216TC013.pdf

    3. the second PDF file will be added to the last number - so .indd14ESW110020216TC0-> ESW110020216TC014.pdf

    Is it possible to integrate this script:

    var doc = app.activeDocument;  
    var _PDFfile = new File('\\\\testserver\\' + app.activeDocument.name.replace (/\.indd$/, '.pdf'));  
      
    var _PDFExportPreset = app.pdfExportPresets.item('MyPdfSetting');   
    if (_PDFExportPreset == null){  
       alert('PDF Export Presets not found');  
       exit();  
        }    
        app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;                      
        doc.exportFile(ExportFormat.pdfType, _PDFfile, false,_PDFExportPreset);  
    

    Hello

    Try this...

  • Distillation/Printing Postscript files with TrueType fonts

    We have the possibility to include marketing inserts full pages (PDF format) in our documents/letters. These inserts put in the full postscript file that we send to a printing facility to print and send.

    Whenever a new insert marketing is created, I run an audit before the flight custom to ensure that fonts are included and transparent do not exist.

    The thing is, we use a few printing facilities, they have printing problems of resources/PDF files into postscript that have TrueType fonts. I also see some errors when I try to distill files with TrueType fonts: "Impossible to extract the embedded police 'JOLMKC + Times-Roman'."  Sometimes, I can edit the PDF to convert Type 1 fonts, but not always. Is it possible to convert TrueType to Type 1? Why TrueType fonts do not work? I did some research, and everything I've read says that TrueType fonts should work in postscript.

    Any help would be appreciated!

    What I use:

    Adobe Acrobat Pro XI

    Windows 8.1

    Police of example I used with the error:

    Times-Roman (embedded subset)

    Type: TrueType

    Encoding: Ansi

    It also came with Arial:

    ArialMT (embedded subset)

    Type: TrueType

    Ansi encoding

    Fix. In my view, that the file PDF is turned via Ghostscript.

    I did eventually find out using Adobe Acrobat 9 (only tried the reader, not Pro), I got all the fonts to Type 1 fonts. I followed the exact same steps as I did in the 11. I don't know if they both incorporate different ways, but each time I have incorporate into 9, it incorporate all Type 1 fonts, not just some of them such as 11.

    I get more concrete information on the technical process, but at this point, I have solved my problem. Thanks for the offer of help!

  • How to create two separate networks in ESX that can communicate with each other with 2 x bear?

    Hello
    Just want to know a fundamental question concerning the configuration of my ESX host of singlebox with several vswitch and two teddy bears,
    What is the definition or use of the network Label and ID of Port? Yes VLAN, I know what it's meant for the physical world.
    My goal here is to
    1. create several vSwitch with much 4 VM on the two vswitch and it communicate somehow vswitch0 and vswitch1 happen? I need to plug the switch of pNIC2 for communication can / must travel through the network cable in my ESX?
    2. how to force all traffic Vmthe in a vswitch to enter a virtual machine that runs as a router VM and then talk to the other router vswitch VM? is this possible?
    Thank you.

    I do not know if I understand perfectly, but I often have to create isolated networks.

    In this case, there is only one NETWORK card, but it works with two, one on each switch. vSwitch0 can communicate with the outside world via the vmnic0. vSwitch0 and vSwitch1 are connected by the virtual router of pfsense. The virtual machines on the portgroup private connect to the world outside and any other VM on the portgroup VM network via the pfsense router. To access computers virtual private Portgroup requires a VPN connection via the pfsense router. This is a completely isolated network. With an additional uplink on vSwitch1, you can connect to other physical devices.

Maybe you are looking for

  • P50 Problem of Turbo Boost

    NotebookCheck reviewed just the P50. They have loved. However, they noted the speaker pop (discussed on this forum), and they reported that the Turbo Boost (on their device) was not working most of the time. They guessed that it was a problem of "con

  • DeskJet 3634: Deskjet 3634

    Bought with & Windows 8 PC. Updated to 8.1. Warned by Microsoft, updated to 10. This printer had worked. Continued to work. Just - once in a great while, usually when I run out of paper, it crashes. I go into my files for 'HP Printer Wizard.exe Insta

  • Dell OptiPlex 170 L Windows 7 video drivers?

    I have a Dell OptiPlex 170 L with Intel Extreme Graphics 2 (Intel 82865 G) and I have recently updated the drive hard and with it the operating system. There now Windows 7 Ultimate SP1 x 86 and I need video drivers. I'm finally going to upgrade the c

  • disable the automatic configuration of the window

    Dear experts, I put the static ip address to my windows 7 PC, but what issue ipconfig/all-command in Dos mode, it will show 169.254.x.x. I tried to search the web and has found that under control and I tried and finally solved my problem. In fact, I

  • Error message: could not generate the complete form

    I can see my filled, but I get the error message "cannot generate filled" when I try to print or share.  I can only view my completed form.  I use the app on my iPad.  Adobe Fill & sign DC