Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Graphics Forum


You are currently viewing our Graphics Forum as a guest. Please register to participate.
Login



Reply
printing images through browser and scaling- NUTS!
Old 03-16-2006, 03:26 PM printing images through browser and scaling- NUTS!
Junior Talker

Posts: 4
Trades: 0
We'll I've been fighting with this one for a minute. This is kind of a coding/image question

200 dpi jpg with pixel dimenions 1717X2213 [document size 8.5X11]

we have these images in a folder and a webpage that finds and views the images based on the user putting the image name in a form. So it's a websearch by image name, images are in a folder on the webserver.
------------------------------------------------------

<div align="left"><img src="\\Cltfs1\Debit Memo\web_search2\200dpi\<%=Trim(request.querystrin g("tkt"))%>.jpg" alt="" width="780" height="960" border="0" align="left">

--------------------------------------------------------

I have the code scaling the image down so it fits on the screen:
width="780" height="960"

when users right click the image and select print, the image is very large and does not fit on the page. The funny thing is that if you print the image by itself it fits fine on 8.5X11.

is 1717X2213 not really translated to 8.5"X11"?

Confused at this point. We need the image to print on one page and not be tiny on screen. PDF not an option right now, using ABBYY formreader actually
frodiggs is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-27-2006, 03:12 PM Re: printing images through browser and scaling- NUTS!
trendybox's Avatar
Experienced Talker

Posts: 42
Trades: 0
If i'm understanding you right you're just looking to print onto an 8 1/2 x 11" sheet of paper... using css you can specify the dimensions for the document in inches. Now as far as your size question though... 1717 pixels at 200 dpi comes out to 8.585 inches... and 2213 is 11.065... you might want to also look at the margin width as well. If your page is set up to print with .75" margins, then the printer will try to split this onto several pages.
If you're writing your app for client-side printing you should try using css and html to create something that will work for everyone.
__________________
-[Trendy Box]-

Please login or register to view this content. Registration is FREE

trendybox is offline
Reply With Quote
View Public Profile Visit trendybox's homepage!
 
Old 03-27-2006, 07:56 PM Re: printing images through browser and scaling- NUTS!
Junior Talker

Posts: 4
Trades: 0
thanks trendy

well I gave our developer some snippets from a few sites and it seems he was able to hack something out. he's using VB to create an active x control that resizes our images and places them in the web folder.

I'll hold into this as we may still need to look further
frodiggs is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to printing images through browser and scaling- NUTS!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11792 seconds with 12 queries