I am using redmon and ghostscript to create a pdf printer. The first step is to convert the document to pdf format(ghostscript can help do this). Then I need to get the print parameters(collate, color, copies .etc) when user prints. Finally I will send the pdf file and the print parameters to my server. I have redirect the port to my application.exe. Is there anyway to get the print parameters in my application?
How to get the print parameters using redmon and ghostscript?
395 views Asked by Shadow fiend At
1
There are 1 answers
Related Questions in PRINTING
- Why does print(list.sort()) result in None?
- How do I print a JTable in the form: Image + header + table in a single page (Java Swing)
- Neptune 3 Pro, Prusa slicer won't stick on plate
- Disable the -n for pyexiftool such that fields like LensID are formatted for human reading
- Why am I not receiving Internet from my Wi-Fi unless I connect to a VPN?
- how check if printing content on new page
- Android PrintManager: process gets killed, print outputs file of zero bytes length
- Print The Receipt Only Using PHP or JS
- How do you make the pop up appear and print a sentence in the main/side panel?
- GDI - Why the printing StartPage() function works in 32 bit but raises an exception in 64 bit?
- Mobile printing PT200 tru Bluetooth opened in web app
- How to keep tqdm progress bar on the bottom of the terminal?
- PlatformException(connect_errd or timeout)
- Chrome PDF print image aspect ratio incorrect - very apparent with small images - is there a workaround?
- Map to fit postersize using Cartopy
Related Questions in GHOSTSCRIPT
- eps converted from PDF using ghostscript looks bitmapped
- GS Error : Can't use Object streams before PDF 1.5, ignoring WriteObjStms directive
- Why does Ghost script 10.02.01 rotate barcode elements 180 degrees counterclockwise?
- GhostScipt High CPU Usage
- How to print a remote PDF file with gsprint (+python later on)?
- Convert PDF to PDF/A using python
- Ghostscript eps file conversion to jpg not working inside the .NET application
- format and crop with ghostscript
- error in saving tiff files to a pdf file using ghostscript win64c
- ps2write rasterizes Type1C font
- Merging PDFs with gs generates /undefinedfilename error
- Setting GhostScript -sFONTMAP argument to control parameters
- Text overlaid with Ghostscript not visible
- Wrong extra spaces for CID TrueType formated lines when converting PDF to JPG with Ghostscript
- Trying to re-define GS display window orientation for easier viewing/debugging of postscript code
Related Questions in REDMON
- How to send my PDF file to a python script instead of a physical printer?
- Printer Port configuration using redmon and ghostscript, error invalid window handle
- pdf redirection to Windows Printer using Ghostscript
- Redmon postscript output
- Is there a modern alternative to redmon redirected port?
- How to get the print parameters using redmon and ghostscript?
- Run a application under current logged in user without passing credentials
- Windows convert text file to postscript and print
- Ghostscript printer stops printing at a specific number of pages
- Redmon starts application as user SYSTEM instead of the current user
- Extract text from PDF files(Printed)
- in windows 10, redirect port monitor (redmon), run as user doesn't work
- Configuring a printer's redirect port via prompt
- ruby: cannot find sinatra
- why cant I configure redirected port for an xps driver
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The values for NumCopies, Duplex, collate etc will be in the PostScript file created by Windows, in the device-specific portion of the PostScript program, and stored in the page device dictionary.
The PDF format (as implied by Steve Friedl above), does not have an equivalent means of storing parameters in the PDF file. When printing PDF such parameters are normally stored as a Job Definition FIle (JDF) or similar.
Since you can't store the values in the PDF file, Ghostscript discards them when creating a PDF.
The only way you can retrieve these values is to read the incoming PostScript program, locate the device-specific portion and parse the values out yourself. Obviously you would invoke your application to do this before then passing the PostScript file to Ghostscript for creation of a PDF file. So you would have to run your application from RedMon, and then have your application run Ghostscript.