Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 24th, 2004, 05:27 PM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printer Object

Hello,

I'm having problems using VB6.0's printer object in W2k. I have a program that has been running in Win98SE and Winnt using the printer object in VB6.0 without any problem. I basically print to a Zebra printer using the "Generic Text" driver. The text contains control characters that controls initiation, font size, spacing, etc.

This is my problem. I can't get it to run in W2K. I can enter the control characters in Notepad then direct it to my Zebra printer and it prints fine, but if I do it from VB using the printer object it won't even turn the printer on. I've doubled check the print settings in W2K and everything seems to be setup correctly. As a test I entered the printer initiation startup and ending strings in the printer setup. From that I was able to turn the printer on and off, why it won't work in VB I don't understand. It's almost as if the initialization string is being stripped out from VB.

Any suggestions ?

thx,

rudy


 
Old December 28th, 2007, 12:01 PM
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did you ever find the resolution to this problem? 3 years on I'm struggling as you did.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Object in .NET ashu_from_india VB.NET 2002/2003 Basics 1 September 1st, 2006 08:24 AM
Printer Object in .NET ashu_from_india VB.NET 0 August 25th, 2006 08:56 PM
Printer Object in .NET ashu_from_india General .NET 0 August 25th, 2006 08:49 PM
Help with Printer Object in VB aniljacob VB How-To 1 March 23rd, 2006 03:22 PM
printer object fonts module0000 Beginning VB 6 1 June 22nd, 2003 07:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.