Unable to remove a category in Print Templates?

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
User avatar
User10232023
Posts: 29
Joined: Mon Oct 23, 2023 9:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7-12700
ram: 16 GB
Video Card: Intel UHD Graphics 770
sound_card: Realtek ALC3246
Hard_Drive_Capacity: SDD 512GB HDD 4TB
Monitor/Display Make & Model: 27" Acer KA2272U
Corel programs: PaintShop Pro 2021 (64-bit), -JASC PSP7

Unable to remove a category in Print Templates?

Post by User10232023 »

I closed PSP and deleted the category folder located at
C:\Program Files\Corel\Corel PaintShop Pro 2021 (64-bit)\Languages\EN\Print Templates
Then I checked the other 2 file locations PSP uses for print templates.
Nothing is there, except for my 1 custom template file using category "Custom".

Starting up PSP shows the category is still there with just 1 blank template.
But clicking delete on that blank template does nothing.
PSP2021 unable to remove unwanted template category.jpg
Not sure what I missed and kind of stumped on how to remove it?
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Unable to remove a category in Print Templates?

Post by LeviFiction »

Categories are defined in the print template files, they aren't based on the sub-folder structure. It also appears to cache the categories, though I don't know where that cache may be. Sadly, we can't use the "delete cache" option to force it to reset. But you can use the File Locations dialog to reset it.

In the Print Templates dialog you show above, click the button at the top of the "Category" group to open the "File Locations" dialog. Turn off "Use sub-folders" and it'll re-evaluate all of the folders and files inside. This will force it to remove unused categories. You can then turn "use sub-folders" back on if you want to use sub-folders.
https://levifiction.wordpress.com/
User avatar
User10232023
Posts: 29
Joined: Mon Oct 23, 2023 9:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7-12700
ram: 16 GB
Video Card: Intel UHD Graphics 770
sound_card: Realtek ALC3246
Hard_Drive_Capacity: SDD 512GB HDD 4TB
Monitor/Display Make & Model: 27" Acer KA2272U
Corel programs: PaintShop Pro 2021 (64-bit), -JASC PSP7

Re: Unable to remove a category in Print Templates?

Post by User10232023 »

LeviFiction wrote: Thu Dec 21, 2023 8:47 pm Categories are defined in the print template files, they aren't based on the sub-folder structure. It also appears to cache the categories, though I don't know where that cache may be. Sadly, we can't use the "delete cache" option to force it to reset. But you can use the File Locations dialog to reset it.

In the Print Templates dialog you show above, click the button at the top of the "Category" group to open the "File Locations" dialog. Turn off "Use sub-folders" and it'll re-evaluate all of the folders and files inside. This will force it to remove unused categories. You can then turn "use sub-folders" back on if you want to use sub-folders.
That's exactly what I needed to do.
Many Thanks!
User avatar
User10232023
Posts: 29
Joined: Mon Oct 23, 2023 9:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: Intel Core i7-12700
ram: 16 GB
Video Card: Intel UHD Graphics 770
sound_card: Realtek ALC3246
Hard_Drive_Capacity: SDD 512GB HDD 4TB
Monitor/Display Make & Model: 27" Acer KA2272U
Corel programs: PaintShop Pro 2021 (64-bit), -JASC PSP7

Re: Unable to remove a category in Print Templates?

Post by User10232023 »

For anyone else who kept using old Jasc psp versions and wants to still manually edit - here's some coles notes

Background:
ie) Old Jasc version 9 would show Print Layout template category's by folder names, and sort by file name, but it would display the description in the edited templates.
--- That allowed for a fast simple way to manually edit templates and let the resulting files be categorically sorted by folder names.
Versus - newer Corel PSP versions Print Layout only pays attention to the info for category and name that's saved in the edited templates.

Location:
File > Preferences > File Locations > then scroll down left-side to Print Templates
This section shows a few Print Template Folders locations
Just look at the bottom "Save To:" for the location to save your custom templates to.

Manual Edit:
There's ways to edit templates in new PSP.
For anyone who doesn't have time to learn yet, or finds manual edits faster, or wants to convert all their old templates over...
Enough has changed in the top portion its just easier to edit category and description. (highlighted green below)
And for photo templates I increased the value for PrintQuality from 200 to 600.
Corel PSP templates manual editing.jpg
Template section:
To copy and paste the Template section select everything between its square+curly bracket [{ down to bottom curly+square brackets }]
- Deleted all lines starting with EllipticalCell
- Removed the u from 'ImagePath': u'', which now needs to look like 'ImagePath': '',

Hope that helps anyone else batch importing a pile of old templates into the new format.
Post Reply