X
Tap here to go to the mobile version of the site.

Support Forum

How do I print to file? When I try to print to file and name the output file, I receive an error "Local Port | Could not open the file: Access is denied."

Posted

I'm trying to print a receipt to a PDF since a printer is currently unavailable to me, but I am getting an error that is preventing me from printing to file. Please see attached screenshots in chronological order.

Since I am unable to add images directly to this question (page gets hung up trying to upload a 107 KB .jpeg), the screenshots are listed below in the following links:

First: http://i.imgur.com/GTz9A1t.jpg Second: http://i.imgur.com/KIpTpIV.jpg Third: http://i.imgur.com/GTQQaBA.jpg

I'm trying to print a receipt to a PDF since a printer is currently unavailable to me, but I am getting an error that is preventing me from printing to file. Please see attached screenshots in chronological order. Since I am unable to add images directly to this question (page gets hung up trying to upload a 107 KB .jpeg), the screenshots are listed below in the following links: First: http://i.imgur.com/GTz9A1t.jpg Second: http://i.imgur.com/KIpTpIV.jpg Third: http://i.imgur.com/GTQQaBA.jpg

Chosen solution

Hi m.patterson,

A suitable workaround may be to sidestep the printer software by using some print to pdf add on such as:

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.10
  • A plugin to detect whether the Adobe Extension Manager is installed on this machine.
  • GEPlugin
  • Version 5.38.6.0
  • Google Update
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 10.45.2 for Mozilla browsers
  • iLok Client Helper Plugin
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
  • Shockwave Flash 16.0 r0
  • 5.1.30514.0
  • Unity Player 4.3.5f1
  • VLC media player Web Plugin 2.1.3
  • NPWLPG
  • iTunes Detector Plug-in

Application

  • Firefox 34.0.5
  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0
  • Support URL: https://support.mozilla.org/1/firefox/34.0.5/WINNT/en-US/

Extensions

  • Adblock Plus 2.6.6 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • Troubleshooter 1.1a (troubleshooter@mozilla.org)
  • avast! Online Security 9.0.2021.112 (wrc@avast.com) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription: AMD Radeon HD 6310 Graphics
  • adapterDescription2:
  • adapterDeviceID: 0x9802
  • adapterDeviceID2:
  • adapterDrivers: aticfx64 aticfx64 aticfx64 aticfx32 aticfx32 aticfx32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
  • adapterDrivers2:
  • adapterRAM: 384
  • adapterRAM2:
  • adapterSubsysID: 00000000
  • adapterSubsysID2:
  • adapterVendorID: 0x1002
  • adapterVendorID2:
  • direct2DEnabled: False
  • direct2DEnabledMessage: [u'blockedGfxCard']
  • directWriteEnabled: False
  • directWriteVersion: 6.2.9200.16571
  • driverDate: 10-8-2013
  • driverDate2:
  • driverVersion: 13.152.1.8000
  • driverVersion2:
  • info: {u'AzureCanvasBackend': u'skia', u'AzureFallbackCanvasBackend': u'cairo', u'AzureContentBackend': u'cairo', u'AzureSkiaAccelerated': 0}
  • isGPU2Active: False
  • numAcceleratedWindows: 1
  • numTotalWindows: 1
  • webglRenderer: Google Inc. -- ANGLE (AMD Radeon HD 6310 Graphics Direct3D9Ex vs_3_0 ps_3_0)
  • windowLayerManagerRemote: True
  • windowLayerManagerType: Direct3D 11

Modified Preferences

  • browser.cache.disk.capacity: 358400
  • browser.cache.disk.smart_size.first_run: False
  • browser.cache.disk.smart_size.use_old_max: False
  • browser.cache.disk.smart_size_cached_value: 358400
  • browser.cache.frecency_experiment: 3
  • browser.places.smartBookmarksVersion: 7
  • browser.sessionstore.restore_on_demand: False
  • browser.sessionstore.upgradeBackup.latestBuildID: 20141126041045
  • browser.startup.homepage: calendar.google.com
  • browser.startup.homepage_override.buildID: 20141126041045
  • browser.startup.homepage_override.mstone: 34.0.5
  • browser.tabs.warnOnClose: False
  • browser.tabs.warnOnOpen: False
  • dom.mozApps.used: True
  • extensions.lastAppVersion: 34.0.5
  • font.name.sans-serif.x-western: Lucida Sans Unicode
  • font.size.fixed.x-western: 12
  • font.size.variable.x-western: 12
  • gfx.blacklist.direct2d: 4
  • gfx.blacklist.layers.direct3d9: 4
  • keyword.URL: https://search.yahoo.com/yhs/search
  • media.gmp-gmpopenh264.lastUpdate: 1414742238
  • media.gmp-gmpopenh264.version: 1.1
  • media.gmp-manager.lastCheck: 1419886788
  • network.cookie.prefsMigrated: True
  • places.database.lastMaintenance: 1419897076
  • places.history.expiration.transient_current_max_pages: 104858
  • plugin.disable_full_page_plugin_for_types: application/pdf
  • plugin.importedState: True
  • privacy.donottrackheader.enabled: True
  • privacy.donottrackheader.value: 0
  • privacy.sanitize.migrateFx3Prefs: True
  • privacy.sanitize.timeSpan: 0
  • storage.vacuum.last.index: 1
  • storage.vacuum.last.places.sqlite: 1419295873

Misc

  • User JS: No
  • Accessibility: No
FredMcD
  • Top 10 Contributor
4224 solutions 58957 answers

I've called the big guys to help you. Good luck.

I've called the big guys to help you. Good luck.
the-edmeister
  • Top 25 Contributor
  • Moderator
5395 solutions 40084 answers

That's not how to print to a PDF file.

Printer -> Name: = select your PDF "printer" from the drop-down menu

That's not how to print to a PDF file. Printer -> Name: = select your PDF "printer" from the drop-down menu

Question owner

the-edmeister said

That's not how to print to a PDF file. Printer -> Name: = select your PDF "printer" from the drop-down menu

That's what I thought initially, but that option isn't available for some reason.

''the-edmeister [[#answer-671607|said]]'' <blockquote> That's not how to print to a PDF file. Printer -> Name: = select your PDF "printer" from the drop-down menu </blockquote> That's what I thought initially, but that option isn't available for some reason.
FredMcD
  • Top 10 Contributor
4224 solutions 58957 answers

You want to save an image? Right click it and select Save As . . .

To save the whole page, right click any empty area, select Save Page As

You want to save an image? Right click it and select '''Save As . . .''' To save the whole page, right click any empty area, select '''Save Page As'''

Question owner

FredMcD said

You want to save an image? Right click it and select Save As . . . To save the whole page, right click any empty area, select Save Page As

No I want to print a receipt to a PDF file, but thank you for the reply.

''FredMcD [[#answer-671845|said]]'' <blockquote> You want to save an image? Right click it and select '''Save As . . .''' To save the whole page, right click any empty area, select '''Save Page As''' </blockquote> No I want to print a receipt to a PDF file, but thank you for the reply.
John99 971 solutions 13138 answers

Chosen Solution

Hi m.patterson,

A suitable workaround may be to sidestep the printer software by using some print to pdf add on such as:

Hi m.patterson, A suitable workaround may be to sidestep the printer software by using some print to pdf add on such as: * Print pages to PDF https://addons.mozilla.org/firefox/addon/print-pages-to-pdf<br />Home http://printpdf.pf-control.de/index.php/en/help.html * Alternatives [https://addons.mozilla.org/en-US/firefox/search/?q=print%20to%20pdf]
the-edmeister
  • Top 25 Contributor
  • Moderator
5395 solutions 40084 answers

If you don't have a PDF "printer" installed, you should install one.

Your choice of which PDF printer utility program to install - but here's a Firefox add-on: https://addons.mozilla.org/en-US/firefox/addon/print-pages-to-pdf/ It's currently a "Featured" addon. Never used it myself, though.

If you don't have a PDF "printer" installed, you should install one. Your choice of which PDF printer utility program to install - but here's a Firefox add-on: https://addons.mozilla.org/en-US/firefox/addon/print-pages-to-pdf/ ''It's currently a "Featured" addon. Never used it myself, though.''

Question owner

John99 said

Hi m.patterson, A suitable workaround may be to sidestep the printer software by using some print to pdf add on such as:

Thanks. When I was using Chrome I was able to print to PDF from printer drop down menu like the-edmeister suggested, but I've since switched to Firefox and I was a little confused why that option wasn't available from the drop down menu. If an add-on gives me that capability I'm all for it.

Hope everyone has a Happy New Year btw!

''John99 [[#answer-671860|said]]'' <blockquote> Hi m.patterson, A suitable workaround may be to sidestep the printer software by using some print to pdf add on such as: * Print pages to PDF https://addons.mozilla.org/firefox/addon/print-pages-to-pdf<br />Home http://printpdf.pf-control.de/index.php/en/help.html * Alternatives [https://addons.mozilla.org/en-US/firefox/search/?q=print%20to%20pdf] </blockquote> Thanks. When I was using Chrome I was able to print to PDF from printer drop down menu like '''the-edmeister''' suggested, but I've since switched to Firefox and I was a little confused why that option wasn't available from the drop down menu. If an add-on gives me that capability I'm all for it. Hope everyone has a Happy New Year btw!