Welcome, Guest. Please Login.
04/25/24 at 22:25:00
News:
Home Help Search Login


Pages: 1 2 3 
Send Topic Print
Images printing as all black (Read 14011 times)
David Waldmann
Active Member
*****


Live to work, or
work to live?

Posts: 1924
Gender: male
Re: Images printing as all black
Reply #15 - 08/30/13 at 04:58:57
 
Hmmm. Out of over 1200 images, only 26 are less than 300 wide and 57 are less than 300 high. A total of 11 are 300 or less in both dimensions.
 
However, considering the possibility that the size may be a factor we'll start tracking which ones we have issues with. File size can't be an issue - the largest is 12K...
Back to top
 
 

David N Waldmann
President
Vermont Hardwoods
Chester, VT

Evo-ERP, 5 user
IST Build: 3/4/19, patched 04/30/19
Pervasive v11.31
Server 2012 / Win10 x64
Crystal Reports v11
Email WWW   IP Logged
TMC Trailers
Browser
*




Posts: 41
Re: Images printing as all black
Reply #16 - 09/03/13 at 21:16:38
 
We're having the same problem
Back to top
 
 
Email   IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #17 - 09/05/13 at 15:36:17
 
make a backup copy of your images.
convert all of them to less than or equal to  300 x 300
 
Xnview is free and you can do it in batch mode so its painless
 
run some boms
 
ahh ! much better
Back to top
 
 
WWW   IP Logged
David Waldmann
Active Member
*****


Live to work, or
work to live?

Posts: 1924
Gender: male
Re: Images printing as all black
Reply #18 - 09/05/13 at 19:21:13
 
I don't have a problem with batch processing, but a lot of our pics will become very unpretty if we resize them. Reason being that they are line drawings, so depending how the program resizes, you end up with lines of differing widths, or even some dropout. That would be the least of it, since we also have dimensions, and when you try reducing bitmap numbers the results are often unreadable. We'd have to go back to the original CAD drawings and recreate the GIFs.
Back to top
 
 

David N Waldmann
President
Vermont Hardwoods
Chester, VT

Evo-ERP, 5 user
IST Build: 3/4/19, patched 04/30/19
Pervasive v11.31
Server 2012 / Win10 x64
Crystal Reports v11
Email WWW   IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #19 - 09/07/13 at 07:00:14
 
sounds like we need a vector format for thumbs if your using line drawings.
 
anyway to update the cad to thumbs you might use wintask. (http://www.wintask.com)
 
use something like this  (run it in a dos box in the root directory of your drawing files.)
 
dir *.iam /b/s/d > c:\iam.txt
 
to make a list of all the drawing files  (file names will be in the file created on your C drive. iam.txt in this case)
 
Get that in excel and feed it to a wintask script that drives the cad program to redo all the thumbnails.
 
here's an example of a wintask script
you simply record these like a word macro.
I added the program lines the loop thru this.
 
it basically copies the file name with path from excel
uses that to open the file in the cad program
then uses the cad program to make the thumbnail
returns back to excel
marks the file name as processed by changing the color of the cell and moves down to the next file name.
 
then it loops
 
I've used this technique to do some big jobs in DBA and other programs that would have taken weeks or months manually.
 
from my experience:
use dba classic for this   I didn't have much luck with evo
 
use keyboard commands where ever you can. I find it works better/faster than mouse clicks.
 
sometimes these scripts will stall so you have to restart them. Still its way easier to babysit a script than to do the work manually.
 
I usually run them on an unused PC using gotomypc so I can run them in a window and use my PC for other things while the script is doing its magic.
 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
'example wintask script.
 
a = 0
pause 10 ticks
Repeat
#SendKeysDelay = 10
 
 
 
UseWindow("EXCEL.EXE|EXCEL7|pfiptlist",1)
     SendKeys("<Ctrl c><Alt>")
 
UseWindow("INVENTOR.EXE|MDIClient|Autodesk Inventor 11|1",1)
     SendKeys("<Alt f>")
 
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11",1)
     ChooseMenu(Context,"&Open...")
 
'UseWindow("INVENTOR.EXE|Edit|Open|1",1)
     SendKeys("<Shift <Ins>><Enter>")
 
'UseWindow("EXCEL.EXE|EXCEL7|",1)
'UseWindow("INVENTOR.EXE|#32770|Open",1)
'      Click(Button,"&Open")
'-=-=-=-=-=-=
'zoom all and turn off work planes
 
           SendKeys("<Alt v>")
 
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11 - []",1)
     ChooseMenu(Context,"O&bject Visibility|All Workfeatures")
 
UseWindow("INVENTOR.EXE|AfxFrameOrView70u||1",1)
     SendKeys("<F6>")
 
     '-=-=-=-=-=-=-=-=-=-=-
 
UseWindow("INVENTOR.EXE|AfxFrameOrView70u||1",1)
     SendKeys("<Alt f>")
 
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11",1)
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11 - [PFBVK00001]",1)
     ChooseMenu(Context,"Save Copy &As...")
 
UseWindow("INVENTOR.EXE|Edit|Save Copy As|1",1)
     SendKeys("<Home>k:\thumbspc\<Tab>")
 
UseWindow("INVENTOR.EXE|#32770|Save Copy As",1)
     ChooseItem(Combo, "4", "PNG (*.png)", single, left )
     Click(Button,"&Save")
 
UseWindow("INVENTOR.EXE|AfxFrameOrView70u||1",1)
     SendKeys("<Alt f>")
 
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11 - [PFBVK00001]",1)
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11 - []",1)
'UseWindow("INVENTOR.EXE|Afx:00400000:8:00010011:00000000:06DD04CD|Autodesk Inventor 11",1)
 
     ChooseMenu(Context,"&Close")
 
'-=-=-=-=-=-=-=
'say no to close save changes
 
UseWindow("INVENTOR.EXE|#32770|Autodesk Inventor 11",1)
     Click(Button,"&No")
 
'-=-=-=-=-=-
 
UseWindow("INVENTOR.EXE|MDIClient|Autodesk Inventor 11|1",1)
     SendKeys("<Alt>")
 
UseWindow("EXCEL.EXE|MsoCommandBar|Formatting",1)
     ClickMouse(Left,Down,575,10)
     ClickMouse(Left,Up,575,10)
 
UseWindow("EXCEL.EXE|EXCEL7|pfiptlist",1)
     SendKeys("<Down>")
 
 
 
 
 
pause 10 ticks
 a = a + 1
 
Until a = 200
 
 
Back to top
 
 
WWW   IP Logged
David Waldmann
Active Member
*****


Live to work, or
work to live?

Posts: 1924
Gender: male
Re: Images printing as all black
Reply #20 - 09/09/13 at 05:35:08
 
Seems like some very helpful ideas you've got there, but I'm afraid it won't work for our application.
 
The CAD files we're using are letter size spec sheets, but we are only using a portion of that sheet as the thumbnail, the portion that has the actual drawing. The size and precise location of that drawing varies from item to item, so we'd have to capture a fairly large part of the drawing which in turn would make the details fairly small.
 
Here is a typical spec page. The red box is the part we need as a thumbnail.
 
Back to top
 
 

David N Waldmann
President
Vermont Hardwoods
Chester, VT

Evo-ERP, 5 user
IST Build: 3/4/19, patched 04/30/19
Pervasive v11.31
Server 2012 / Win10 x64
Crystal Reports v11
Email WWW   IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #21 - 09/10/13 at 06:05:40
 
We print drawings from word documents.
I do a copy link from Autocad and paste that into word,
and the word doc is printed with the traveler.
sometimes we need a large format drawing (size D or E) for a machine assembly.
these I print manually on the plotter although one of my guys sends the word docs to the plotter and they do print out fine large format even though at 8.5 x 11 you can barely read the words.
The vector format scales cleanly.
 
if you can save or convert your cad files to .WMF  thats a vector format and may work well for your situation. Autocad can do wmf. I never used one in dba though
 
it is listed as a supported format for thumbs.
 
 
 
Back to top
 
 
WWW   IP Logged
David Waldmann
Active Member
*****


Live to work, or
work to live?

Posts: 1924
Gender: male
Re: Images printing as all black
Reply #22 - 09/10/13 at 06:20:54
 
We can print the whole page no problem, as a linked document. But all we want is a thumbnail of the actual drawing itself because it's simple enough and small enough that all the specs are readable and right there on the traveler.
 
We're keeping track of which pics give us trouble to see if we can find any kind of pattern to it.
 
Thanks again for your help.
Back to top
 
 

David N Waldmann
President
Vermont Hardwoods
Chester, VT

Evo-ERP, 5 user
IST Build: 3/4/19, patched 04/30/19
Pervasive v11.31
Server 2012 / Win10 x64
Crystal Reports v11
Email WWW   IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #23 - 09/12/13 at 06:29:15
 
I just tried a WMF (vector format) for a cad drawing of a circuit board and printed it about 1/4 inch square
when I zoomed in it looked quite good.
 
I may use this for some of my items.
 
 
 
Back to top
 
 
WWW   IP Logged
David Waldmann
Active Member
*****


Live to work, or
work to live?

Posts: 1924
Gender: male
Re: Images printing as all black
Reply #24 - 09/12/13 at 06:59:57
 
My CAD program (Autosketch, a super lite version by Autodesk) makes bitmap WMFs...
Back to top
 
 

David N Waldmann
President
Vermont Hardwoods
Chester, VT

Evo-ERP, 5 user
IST Build: 3/4/19, patched 04/30/19
Pervasive v11.31
Server 2012 / Win10 x64
Crystal Reports v11
Email WWW   IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #25 - 09/14/13 at 07:55:20
 
It's always something.
 
There are DWG and DFX to WMF converters.
 
Back to top
 
 
WWW   IP Logged
EMI Ann
Full Member
***


Non calor sed umor
est qui nobis
incommodat.

Posts: 123
Gender: female
Re: Images printing as all black
Reply #26 - 02/04/15 at 11:16:30
 
Latest update on computers, printers and EVO, and it still does it from time to time. We have a small image box that sometimes prints fine, and sometimes blacks out. The only way to make it stop is to exit the program, restart, and rerun the print dialog. We print to the screen first, and then print from there to the printer (great error catcher), and it only shows up on the paper, never the screen.
Tis a puzzlement....
Ann
Back to top
 
 

EMI FILTER COMPANY
Clearwater, Florida
EVO-Erp 2015.1, Win 8.1 Pro, Win 2008 network
  IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #27 - 02/04/15 at 13:26:20
 
is it larger than 300 x 300 ?
Back to top
 
 
WWW   IP Logged
EMI Ann
Full Member
***


Non calor sed umor
est qui nobis
incommodat.

Posts: 123
Gender: female
Re: Images printing as all black
Reply #28 - 02/05/15 at 08:49:21
 
The graphic in question is on invoices, and is a bmp, 683 x 315, but that should not be the issue. The program randomly blacks it out and no other program I am using has this issue on printing. I can have 6 printed to preview, and when I send them to the printer,  4 will print fine, and 2 will print with a black box instead of the graphic. They all will look fine in the preview. Workstation or login make no difference; it can do it anywhere, at any time, or not, as the winds take it. The only way to stop it is to log off, and re-open the program, and it is sporadic. It appears to have been a problem for a long time, though, since it has 2 pages of comments. I have noted that when I right click the image, the entry "reprint on overflow" is not checked. Could it possibly be that? Could cumulative size in a bunch be the problem, and not the specific size of the graphic, so much as the idea that a larger one, a number of times at once, would "fill the bucket" more quickly, causing it to black it out as a block rather than print the details?
Hmmmm,  
Ann
Back to top
 
 

EMI FILTER COMPANY
Clearwater, Florida
EVO-Erp 2015.1, Win 8.1 Pro, Win 2008 network
  IP Logged
shadowcaster
Active Member
*****


I'm not here because
I know what to do.

Posts: 678
Gender: male
Re: Images printing as all black
Reply #29 - 02/06/15 at 15:21:20
 
Try reducing the bit depth of the image. try 8 or 16 bits. or black and white.
 
I find EVO has issues with complex shaded images and its worse as they get larger.
I've change logo images and has some the black out 100 % of the time. When I made them smaller and less bit depth and it fixed the issue (mostly).
 
there seem to be something that builds up. Maybe a memory leak in the printer driver or a buffer that overflows on itself.
 
 
Back to top
 
 
WWW   IP Logged
Pages: 1 2 3 
Send Topic Print