ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 20th, 2003, 06:48 AM
qwert qwert is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 2 qwert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Red face Printing with Common Dialogue box

Hi, can you please help me with this major problem I have,
To print I have added the following code:
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Private Sub Command1_Click()
Dim num As Integer
MsgBox "asdfasdf", vbExclamation, "asdf"
dlgprint.ShowPrinter
If dlgprint.CancelError = True Then
Exit Sub
Else
With Printer
.FontName = "arial"
.FontSize = 14
.FontUnderline = False
Print .Orientation = 2
Printer.Print "asf"
Printer.Print Tab(100); lblitemid; Tab(20);
Printer.Print Tab(100); lbla; Tab(20);
End With
Printer.EndDoc
End If
End Sub
- - - - - - - - - - - - - - - - - - - - - - - - - - -
By using the 'common dialogue box' this allows for me to have a selections to print x number of coppies, and print lanscape or portrait when the print options pop-up. However when i select 2 coppies or change to landscape, these changes do not occur when i print. Can you please help me with this.

Reply With Quote
  #2  
Old January 20th, 2003, 10:53 AM
Lindset Lindset is offline
weirdomoderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Alta, Norway
Posts: 370 Lindset User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to Lindset Send a message via AIM to Lindset
This thread was moved to the appropriate forum
__________________
Best Regards,
Håvard Lindset

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Printing with Common Dialogue box


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway