Solved

Modify EMF file for sending bin requests to appropriate printer

Posted on 2008-10-07
3
422 Views
Last Modified: 2013-12-05
We want to generate an EMF file, and then, based on page count and printer availability, send the EMF file to a specific printer chosen from a list.  If their are bin-specific sections (certain pages need to come from specific bins), how can we select a specific bin based on the printer by modifying the EMF file.  It's been our experience that most 'new' printers have bin numbers outside the normal range.
0
Comment
Question by:jbmsystems
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Accepted Solution

by:
hdhondt earned 500 total points
ID: 22664042
EMF (Enhanced Windows Metafile) files are graphic files in Windows' internal format. They are a new version of the old WMF files. These files cannot be sent directly to a printer, with or without changing tray numbers. To print an EMF, open it in an suitable application, such as Illustrator, Corel, Irfanview, etc. The printer driver will then convert the EMF into something understandable by the printer, and will let you change trays at print time.

To make your idea work you need to generate a file that is directly understood by the printer. If you generate a PCL5 file instead of EMF, you will be able to change the tray numbers before you send it to the printer. However that assumes the printer understands PCL, which excludes GDI printers (many low-cost lasers and most inkjets). You could do the same with PostScript, but PostScript files are much harder to generate and modify, and more printers support PCL than PS.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Studio npm 1 29
Unable to hit site 2 29
VB.net/VSTO Excel Add-in 2 16
Starting to use Git with Visual  Studio Online 1 20
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question