Results 1 to 5 of 5
  1. #1
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875

    Question Changing Printer Margins on Access RunTime 2000

    I've done a little reading around on the interwebs trying to fix a dilemma I have...

    I'm developing a Report to print labels. This Report will be used by several different locations within our company, all of which have different printers, which will require different page margins to print properly.

    All of the printers are tractor feed printers (if that makes a difference).

    My research has led me to the PrtMip code. I've taken a look at it and it seems to do what I want, but I've also read some reports that it doesn't work as advertised when the user has the RunTime installed instead of the full version. I've also seen Mr. Allen Browne comment that you shouldn't rely on PrtMip when coding for different printers.



    Does anyone here have first-hand experience using PrtMip? And if so, is it something that I rely on in this instance?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Looks to me like report has to be opened in DesignView for the PrtMip method to work. Don't think can open objects in DesignView even programatically in runtime version.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Phooey, I was afraid someone would say that...

    Well, I guess I'll just have to wait until the corporate offices let us upgrade to a newer version of Access so I can use the Printer Control. In the meantime I'll just have to set up separate Reports for each location :/

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I user Printer Control class. Have to open report in Preview to change printer/bin destinations, then send the open report to printer, then close report. Never tried changing margin settings.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    Rawb is offline Expert
    Windows XP Access 2000
    Join Date
    Dec 2009
    Location
    Somewhere
    Posts
    875
    Yeah, unfortunately we're forced to use Access 2000 and the Printer Control class wasn't introduced until Access 2003 :<

    We're in the process of upgrading the databases to Access 2010 ACCDBs, but until that happens (probably only 2 months or so away), I won't be able to use the Printer Control.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 8
    Last Post: 04-03-2012, 12:00 PM
  2. Access runtime 2000
    By rbowman in forum Access
    Replies: 4
    Last Post: 03-22-2012, 12:01 PM
  3. connect MS Access with fiscal printer
    By denkovski in forum Access
    Replies: 2
    Last Post: 02-13-2012, 11:43 AM
  4. Access 2003 Report - Printer Settings
    By jre1229 in forum Access
    Replies: 5
    Last Post: 01-31-2012, 06:03 PM
  5. Printing to an intermec printer from access
    By dkalsow in forum Programming
    Replies: 3
    Last Post: 12-16-2009, 06:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums