[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 443
  • Last Modified:

Modify EMF file for sending bin requests to appropriate printer

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
jbmsystems
Asked:
jbmsystems
1 Solution
 
hdhondtCommented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now